Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck at "Prompt will show when Figwheel connects to your application" after dependencies upgrade #13

Open
nfedyashev opened this issue May 5, 2020 · 4 comments

Comments

@nfedyashev
Copy link

Just noticed that I can no longer access the REPL after upgrading to the latest deps:

com.cemerick/piggieback "0.2.1" => 0.2.2
macchiato/core "0.2.16" => 0.2.17
org.clojure/clojurescript "1.10.520" => "1.10.758"
javax.xml.bind/jaxb-api "2.3.0" => 2.3.1

lein-doo "0.1.7" => 0.1.11
macchiato/lein-npm "0.6.4" => 0.6.7
lein-cljsbuild "1.1.7" => 1.1.8

Steps to reproduce:

  1. create blank({}) config.edn because it can't boot without it with these deps
  2. lein build in the 1st tab
  3. npm start in the 2nd tab

[email protected] start /home/nikita/Projects/fooapp
node target/out/fooapp.js

INFO [fooapp.core:26] - oneclickpoll started on 127.0.0.1 : 3000
Figwheel: trying to open cljs reload socket
Figwheel: socket connection established

Expected result:

after npm start 1st tab "transforms" into

[Rebel readline] Type :repl/help for online help info
ClojureScript 1.10.520
dev:cljs.user=>

Actual result:

after npm start 1st tab is still stuck with into

[Rebel readline] Type :repl/help for online help info

P.S. With vanilla(@master) macchiato-template everything works fine.

@nfedyashev
Copy link
Author

nfedyashev commented May 5, 2020

From what I see it is caused by org.clojure/clojurescript upgrade.. that's strange

upd. This issues starts to happen since 1.10.741 org.clojure/clojurescript version

@yogthos
Copy link
Member

yogthos commented May 5, 2020

Oh interesting, wonder what causes the breakage there. Incidentally, I was thinking it might make more sense to switch to using shadow-cljs instead since it has better NPM integration, and the project wouldn't even need to use Leiningen at that point. It also looks like figwheel is no longer actively maintained.

Not sure when I'd get the time to do the update though. If it's something you wouldn't mind helping with a PR would be welcome.

@nfedyashev
Copy link
Author

nfedyashev commented May 5, 2020

Not sure when I'd get the time to do the update though. If it's something you wouldn't mind helping with a PR would be welcome.

I've just started learning Clojure very recently so not sure if I can do a proper PR yet.

The only contribution that I can do right now is a small donation, which I just did :) And a small thank your all your work in the Clojure community.

@yogthos
Copy link
Member

yogthos commented May 5, 2020

No worries, and thanks for the noting the issue. If you are just starting out, I'd also recommend taking a look at luminus. Using JVM on the server-side is a lot more common for Clojure, so you'll likely have a smoother overall experience there. Most common setup tends to be to use Clojure on the backend with ClojureScript on the frontend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants