Fork me on GitHub
#hyperfiddle
<
2023-03-09
>
nivekuil10:03:17

is master broken right now? when requiring

2. Unhandled clojure.lang.Compiler$CompilerException
   Error compiling hyperfiddle/electric/impl/yield2.cljc at (1:1)
   {:clojure.error/phase :execution,
    :clojure.error/line 1,
    :clojure.error/column 1,
    :clojure.error/source "hyperfiddle/electric/impl/yield2.cljc"}

1. Caused by java.lang.IllegalAccessError
   tap does not exist

👀 2
2
Geoffrey Gaillard10:03:57

Thank you for the report and sorry for the issue. We will look into it and get back to you today.

xificurC10:03:44

have you tried clearing your cache? rm -rf ./.shadow-cljs/ ./.cpcache

Dustin Getz12:03:21

@U797MAJ8M please paste your deps.edn

Dustin Getz12:03:28

I think you might have an old version of RCF

nivekuil14:03:25

that was it, thanks dustin

👍 4
Dustin Getz16:03:10

Deployment changeset (experimental!) has landed on master, brave souls can try it out, we will announce a release after we gain confidence and finish minor cleanups. https://github.com/hyperfiddle/electric-starter-app has working github actions CI/CD pipeline to http://fly.io

👍 6
🙌 6
Carsten Behring21:03:30

I tried it with my app. docker build works as expected. 🎉

👍 2
Dustin Getz22:03:19

thanks Carsten; please everyone who tries report if it worked

tobias09:03:15

Thanks for adding build commands! Building uberjar of starter app worked for me and deployed to my vps (not http://fly.io) just fine.

🙏 2
Yab Mas13:03:44

When I use electric-version v2-alpha-167-gbd475584 (from the start-app) my build works fine, but my development setup breaks. After running clj -A:dev -X user/main I get the following error in the browser. The web page at ** might be temporarily down or it may have moved permanently to a new web address. To be clear, when I run the resulting jar from the build of the exact same app it works fine. When I downgrade to v2-alpha-123-ga7fa624f (last version I had) my dev setup works again. It probably is something in my config/setup because both running it in dev-mode and building of the starter-app work fine for me locally. It' still a bit strange because I copied the updated-config of the starter-app and only added one local/root dep which itself doesn't have any extra dependencies. I don't have time atm to really dive into it, but thought I would report anyway.

👀 2
2
Dustin Getz14:03:37

could it be a resource classpath issue?

Yab Mas15:03:17

Ah, saw your mention, no missed the breaking-change with resources. Might very well be it. I'll check when I'm at my pc again, will probably only be by sunday though. Thanks!

👍 2
Dustin Getz16:03:54

Master has a breaking change: "resources" folder is now served from the classpath not the file system (even for local dev), see https://github.com/hyperfiddle/electric-starter-app/commit/3ab72a62d3be66b2567e7ad3c1a88a21db409fc2. Breaking existing configurations was an accident and we'll try to make this backwards compatible as we cleanup.

👍 2
Dustin Getz14:03:01

@U02JSUJ7ANM please confirm you saw this

🙏 2