-
Notifications
You must be signed in to change notification settings - Fork 14
unable to start REPL due to Error loading cider.piggieback #34
Comments
I'm unable to reproduce this, but I have removed piggieback as per https://shadow-cljs.github.io/docs/UsersGuide.html#_embedded_nrepl_server Pull and tell me how it goes. |
Thanks. I got past that problem but hit another. I am very new at using lein/clojure so that may be the problem.
|
Do you have a project-specific or user-specific profiles.clj? It seems your
dev profile is broken somehow. Also, what lein command are you executing?
El lun., 18 mar. 2019 22:57, Juan Liska <[email protected]> escribió:
… Thanks. I got past that problem but hit another. I am very new at using
lein/clojure so that may be the problem.
(base) Arpanet kemik-ventas> lein repl
Tried to load org.tcrawley/dynapath version 0.2.3 but 1.0.0 was already loaded.
Tried to load commons-io version 2.5 but 2.6 was already loaded.
Retrieving nrepl/nrepl/0.5.3/nrepl-0.5.3.pom from clojars
Retrieving nrepl/bencode/1.0.0/bencode-1.0.0.pom from clojars
2019-03-18 15:55:20.598 [main] INFO ventas.config - Loading configuration
2019-03-18 15:55:20.619 [main] DEBUG ventas.config - {:database {:url datomic:free://localhost:4334/ventas}, :server {:port 3450, :host localhost}, :elasticsearch {:index ventas, :port 9200, :host 127.0.0.1}, :auth-secret CHANGEME}
Error loading shadow.cljs.devtools.server.nrepl: java.io.FileNotFoundException: Could not locate clojure/tools/nrepl/middleware__init.class or clojure/tools/nrepl/middleware.clj on classpath., compiling:(shadow/cljs/devtools/server/nrepl.clj:1:1)
Error loading shadow.cljs.devtools.server.nrepl: java.io.FileNotFoundException: Could not locate clojure/tools/nrepl/middleware__init.class or clojure/tools/nrepl/middleware.clj on classpath., compiling:(shadow/cljs/devtools/server/nrepl.clj:1:1)
Error loading shadow.cljs.devtools.server.nrepl: java.io.FileNotFoundException: Could not locate clojure/tools/nrepl/middleware__init.class or clojure/tools/nrepl/middleware.clj on classpath., compiling:(shadow/cljs/devtools/server/nrepl.clj:1:1)
Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: shadow.cljs.devtools.server.nrepl/cljs-load-file in this context, compiling:(/private/var/folders/2g/191qqhsn24769l06q1jzy7tw0000gn/T/form-init3777534392533582629.clj:1:3620)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7010)
at clojure.lang.Compiler.analyze(Compiler.java:6773)
at clojure.lang.Compiler.analyze(Compiler.java:6729)
at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3881)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7005)
at clojure.lang.Compiler.analyze(Compiler.java:6773)
at clojure.lang.Compiler.analyze(Compiler.java:6729)
at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3881)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7005)
at clojure.lang.Compiler.analyze(Compiler.java:6773)
at clojure.lang.Compiler.access$300(Compiler.java:38)
at clojure.lang.Compiler$LetExpr$Parser.parse(Compiler.java:6368)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7003)
at clojure.lang.Compiler.analyze(Compiler.java:6773)
at clojure.lang.Compiler.analyze(Compiler.java:6729)
at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:6100)
at clojure.lang.Compiler$FnMethod.parse(Compiler.java:5460)
at clojure.lang.Compiler$FnExpr.parse(Compiler.java:4022)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7001)
at clojure.lang.Compiler.analyze(Compiler.java:6773)
at clojure.lang.Compiler.eval(Compiler.java:7059)
at clojure.lang.Compiler.eval(Compiler.java:7052)
at clojure.lang.Compiler.eval(Compiler.java:7052)
at clojure.lang.Compiler.eval(Compiler.java:7052)
at clojure.lang.Compiler.load(Compiler.java:7514)
at clojure.lang.Compiler.loadFile(Compiler.java:7452)
at clojure.main$load_script.invokeStatic(main.clj:278)
at clojure.main$init_opt.invokeStatic(main.clj:280)
at clojure.main$init_opt.invoke(main.clj:280)
at clojure.main$initialize.invokeStatic(main.clj:311)
at clojure.main$null_opt.invokeStatic(main.clj:345)
at clojure.main$null_opt.invoke(main.clj:342)
at clojure.main$main.invokeStatic(main.clj:424)
at clojure.main$main.doInvoke(main.clj:387)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:702)
at clojure.main.main(main.java:37)
Caused by: java.lang.RuntimeException: Unable to resolve var: shadow.cljs.devtools.server.nrepl/cljs-load-file in this context
at clojure.lang.Util.runtimeException(Util.java:221)
at clojure.lang.Compiler$TheVarExpr$Parser.parse(Compiler.java:720)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7003)
... 36 more
^C(base) Arpanet kemik-ventas> lein --version
Tried to load org.tcrawley/dynapath version 0.2.3 but 1.0.0 was already loaded.
Tried to load commons-io version 2.5 but 2.6 was already loaded.
Leiningen 2.9.1 on Java 1.8.0_151 Java HotSpot(TM) 64-Bit Server VM
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHpgMUcyt3DQy10-DFsbHZP6pAvz2LEoks5vYAu1gaJpZM4b2sq4>
.
|
I have the same problem. I'm running I have removed my As I understand from the error message the |
I think you need to upgrade leiningen, or create a
Both lein and shadow want to use the new nrepl version, and it seems yours is trying to use Please tell me how that goes. |
@sologiler @pabl0rg I believe this is solved in |
The text was updated successfully, but these errors were encountered: