Closed p-b-west closed 6 years ago
So this has to be an environment thing. This means that your clojurescript dep is being met with something that doesn't have cljs.analyzer in it. This means your .m2/repository, .profiles etc is mucking things up.
On Mar 16, 2018, at 3:09 AM, Peter West notifications@github.com wrote:
This issue seems to have cropped up at times in the past. Maybe I'm doing something wrong.
Leiningen 2.8.1 on Java 1.8.0_161 Java HotSpot(TM) 64-Bit Server VM
Simplest example: $ lein new figwheel whatever $ cd whatever $ lein figwheel
Lots of stacktrace, including Caused by: java.io.FileNotFoundException: Could not locate cljs/analyzer__init.class or cljs/analyzer.clj on classpath:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
$ rm -rf ~/node_modules $ rm -rf ~/.yarn* $ rm -rf ~/.npm
$ brew uninstall --force clojure $ cd ~/.m2/repository $ rm -rf clj clojure lein* $ cd Projects $ lein new figwheel ozehealth $ cd ozehealth $ lein figwheel
Same result. Any other suggestions?
did you check your .lein/profiles?
Also you would really need to get rid of or move your whole m2 repository to check this.
Nope, I forgot about them. Had a clojure 1.6.0 from 2015, which shows how long it's been since I used lein. Thank you for your patience.
This issue seems to have cropped up at times in the past. Maybe I'm doing something wrong.
Leiningen 2.8.1 on Java 1.8.0_161 Java HotSpot(TM) 64-Bit Server VM
Simplest example: $ lein new figwheel whatever $ cd whatever $ lein figwheel
Lots of stacktrace, including Caused by: java.io.FileNotFoundException: Could not locate cljs/analyzer__init.class or cljs/analyzer.clj on classpath: