Comments (6)
I am still not able to get repl working, keep on hitting this. Any ideas?
boot.user=> clojure.lang.Compiler$CompilerException: java.lang.IllegalArgumentException: No single method: _setup of interface: cljs.repl.IJavaScriptEnv found for function: -setup of protocol: IJavaScriptEnv, compiling:(cemerick/piggieback.clj:144:5)
java.lang.IllegalArgumentException: No single method: _setup of interface: cljs.repl.IJavaScriptEnv found for function: -setup of protocol: IJavaScriptEnv
from boot-cljs-repl.
@kul You have something that is pulling in an older dependency. Can you post your boot.build and boot.properties files?
from boot-cljs-repl.
@pkobrien Thanks! Seems like i was doing couple of things wrong first being running repl instead of cljs-repl. But yes there was an old piggieback dep coming from one of the deps. Now i am stuck on
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: var: #'clojure.tools.nrepl.middleware.interruptible-eval/queue-eval is not public, compiling:(cemerick/piggieback.clj:240:3)
clojure.lang.Compiler$CompilerException: java.lang.IllegalStateException: var: #'clojure.tools.nrepl.middleware.interruptible-eval/queue-eval is not public, compiling:(cemerick/piggieback.clj:240:3)
java.lang.IllegalStateException: var: #'clojure.tools.nrepl.middleware.interruptible-eval/queue-eval is not public
from boot-cljs-repl.
Ok there was an older nrepl dep as well. Now I am stuck on how to run the repl. I am doing boot cljs-repl repl
. Then (start-repl)
gives
java.lang.IllegalStateException: Can't change/establish root binding of: *cljs-repl-env* with set
...
cemerick.piggieback/cljs-repl piggieback.clj: 233
...
adzerk.boot-cljs-repl/start-repl boot_cljs_repl.clj: 130
...
boot.user/eval5510 boot.user2491252938845119627.clj: 1
...
clojure.core/eval core.clj: 3081
from boot-cljs-repl.
@kul I haven't seen that error before so it is hard for me to debug with the information you have provided. How does your build.boot file differ from this simple example:
(set-env!
:source-paths #{"src"}
:resource-paths #{"html"}
:dependencies '[
[adzerk/boot-cljs "0.0-3308-0" :scope "test"]
[adzerk/boot-cljs-repl "0.1.10-SNAPSHOT" :scope "test"]
[adzerk/boot-reload "0.3.1" :scope "test"]
[pandeiro/boot-http "0.6.3-SNAPSHOT" :scope "test"]
[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "0.0-3308"]])
(require
'[adzerk.boot-cljs :refer [cljs]]
'[adzerk.boot-cljs-repl :refer [cljs-repl start-repl]]
'[adzerk.boot-reload :refer [reload]]
'[pandeiro.boot-http :refer [serve]])
(deftask dev []
(set-env! :source-paths #{"src"})
(comp (serve :dir "target/")
(watch)
(speak)
(reload :on-jsload 'app.core/main)
(cljs-repl)
(cljs :source-map true :optimizations :none)))
(deftask build []
(set-env! :source-paths #{"src"})
(comp (cljs :optimizations :advanced)))
from boot-cljs-repl.
If there are still problems, please open specific issues.
from boot-cljs-repl.
Related Issues (20)
- Stopping the bREPL once and you can't restart it anymore HOT 2
- Start-repl hangs HOT 4
- remote repl HOT 5
- Broken with cljs 1.9.93 HOT 8
- Set port on cljs-repl HOT 2
- Repl-Env HOT 1
- "No such namespace" for ns from foreign-libs libs when eval ns-form at repl HOT 4
- Can't start repl anymore HOT 7
- Help getting connected to a browser repl in cider HOT 2
- How do you connect to an NREPL running in Docker? HOT 1
- cider-load-buffer fails with "Cannot open <nil> as a Reader" HOT 1
- Follow .cljs.edn file conventions
- Starting REPL freezes HOT 7
- Please fix line 197 of boot_cljs_repl.clj HOT 2
- outdated piggieback dependency? HOT 3
- When following the current instructions for vim fireplace HOT 1
- JDK11 java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter HOT 1
- evaluating function with REPL doesn't produce JS output
- jsloader GET pprint.js 404, cannot see return in cljs-repl HOT 1
- Takes forever to start up HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boot-cljs-repl.