Comments (13)
Alrighty, that is because of the "fs" dependancy. I take a look at it.
from lein-figwheel.
Just fixed the "fs" dependency problem. But now it seems that figwheel is depending on too recent a version of ClojureScript for light table.
See: https://groups.google.com/forum/#!topic/light-table-discussion/X-Ij2rZFboQ.
This should be resolved shortly.
from lein-figwheel.
Thanks a lot 👍
from lein-figwheel.
I think I fixed this for Light Table users.
Try this for the dependancy:
[figwheel "0.1.2-2173-SNAPSHOT"]
Try this for the plugin
[lein-figwheel "0.1.2-2173-SNAPSHOT"]
from lein-figwheel.
I'm getting the same error.
Light Table version 0.6.5 and project.clj that looks like:
(defproject hello-world "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2202"]
[figwheel "0.1.2-2173-SNAPSHOT"]
[org.clojure/core.async "0.1.278.0-76b25b-alpha"]
[sablono "0.2.16"]
[om "0.6.2"]]
:plugins [[lein-cljsbuild "1.0.3"]
[lein-figwheel "0.1.2-2173-SNAPSHOT"]]
:cljsbuild {
:builds [{ :source-paths ["src"]
:compiler { :output-to "resources/public/js/compiled/hello_world.js"
:output-dir "resources/public/js/compiled/out"
:optimizations :none }}]}
:figwheel {
:http-server-root "public" ;; default and assumes "resources"
:server-port 3449 ;; default
:css-dirs ["public/resources/css"] ;; watch and update CSS
})
from lein-figwheel.
Did you make sure you did a lein clean
?
The target
directory in your project root directory needs to be removed.
So that you are using the new codebase.
from lein-figwheel.
Done that, and I also tried with a vanilla project. Still no luck. Are you able to connect to your projects with your version of Light Table?
from lein-figwheel.
I looked at your project.clj again and you need to have
[org.clojure/clojurescript "0.0-2173"] instead of [org.clojure/clojurescript "0.0-2202"]
and
[lein-cljsbuild "1.0.2"] instead of [lein-cljsbuild "1.0.3"]
from lein-figwheel.
But I am checking that right now.
from lein-figwheel.
Yep that works for me.
Man sorry this is such a pain. There was a breaking change in the cljs compiler after 2173 and its a bitch to bridge the gap.
from lein-figwheel.
Also you want to be using the Light Table UI connection.
from lein-figwheel.
Hehe, no worries that worked like a charm! 👍
from lein-figwheel.
Saweeeet!
from lein-figwheel.
Related Issues (20)
- scss reloading not being triggered HOT 2
- Why is it named figwheel? HOT 1
- Buffers won't connect to CIDER/Figwheel REPL HOT 1
- Figwheel fails to recognize Java version - issues bad warning HOT 5
- Update REPL integration wiki documentation
- Code reloading fails if you use goog namespace
- Separate builds should truly be separate
- Hello world template opens REPL and detects changes but does not run HOT 1
- Erroneous java version warning HOT 1
- REPL and line splitting mid-form HOT 2
- Confusing project.clj syntax error
- How to create production build? HOT 1
- Unable to change Figwheel server-port HOT 1
- Support non-boolean values for :output-wrapper compiler option
- Uncaught ReferenceError: on_js_reload is not defined
- websocket connection-url should default to window.location.hostname instead of localhost HOT 1
- unable to change websocket-host to window.location.host HOT 1
- Can get the nrepl session establshed HOT 1
- On a brand new project `lein figwheel` -> `java.lang.NullPointerException`
- Running lein figwheel throws java.lang.NullPointerException: Cannot invoke "clojure.lang.IFn.invoke(Object)" because "loc" is null HOT 1
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 lein-figwheel.