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

figwheel not working #25

Closed
piranha opened this issue Jul 2, 2014 · 4 comments
Closed

figwheel not working #25

piranha opened this issue Jul 2, 2014 · 4 comments

Comments

@piranha
Copy link
Contributor

piranha commented Jul 2, 2014

When I clone flappy-bird-demo repository and run lein figwheel there, I get an error:

clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Unable to resolve var: reader/*alias-map* in this context, compiling:(cljs/analyzer.clj:1499:11)

I obviously can provide full one, it's really long though. I found out that this could be old version of tools.reader, but as far as I see I have 0.8.3 required by cljs and nothing else, so everything should be ok. Any ideas?

@bhauman
Copy link
Owner

bhauman commented Jul 2, 2014

Other people who have had problems have mentioned that they had a users profile in ~/.lein/profiles.clj which was mucking things up.

Here is my lein deps :tree

 [clojure-complete "0.2.3" :exclusions [[org.clojure/clojure]]]
 [figwheel "0.1.2-20140513.133658-4"]
   [compojure "1.1.7"]
     [clout "1.1.0"]
     [org.clojure/core.incubator "0.1.0"]
     [org.clojure/tools.macro "0.1.0"]
     [ring/ring-core "1.2.2"]
       [clj-time "0.4.4"]
         [joda-time "2.1"]
       [commons-fileupload "1.3"]
       [commons-io "2.4"]
       [ring/ring-codec "1.0.0"]
         [commons-codec "1.6"]
   [digest "1.4.3"]
   [http-kit "2.1.16"]
   [me.raynes/fs "1.4.4"]
     [org.apache.commons/commons-compress "1.4"]
       [org.tukaani/xz "1.0"]
   [watchtower "0.1.1"]
 [org.clojure/clojure "1.6.0"]
 [org.clojure/clojurescript "0.0-2202"]
   [com.google.javascript/closure-compiler "v20131014"]
     [args4j "2.0.16"]
     [com.google.code.findbugs/jsr305 "1.3.9"]
     [com.google.guava/guava "15.0"]
     [com.google.protobuf/protobuf-java "2.4.1"]
     [org.json/json "20090211"]
   [org.clojure/data.json "0.2.3"]
   [org.clojure/google-closure-library "0.0-20140226-71326067"]
     [org.clojure/google-closure-library-third-party "0.0-20140226-71326067"]
   [org.clojure/tools.reader "0.8.3"]
   [org.mozilla/rhino "1.7R4"]
 [org.clojure/core.async "0.1.278.0-76b25b-alpha"]
 [org.clojure/tools.nrepl "0.2.3" :exclusions [[org.clojure/clojure]]]
 [sablono "0.2.16"]
   [com.facebook/react "0.9.0.1"]

@piranha
Copy link
Contributor Author

piranha commented Jul 2, 2014

Hah, found the offender. Everything fails because of lein-ancient, not sure why, I probably need to report this error there. :) Thanks for pointing in right direction.

@piranha piranha closed this as completed Jul 2, 2014
@mmower
Copy link

mmower commented Oct 4, 2016

@piranha I just hit the exact same problem 'figwheel' is not a task and had to rename my profiles.clj file to get it working again. Did you raise the failure with the lein-ancient folks? If not is there any more info about how it's conflated with figwheel?

@piranha
Copy link
Contributor Author

piranha commented Oct 4, 2016

Totally forgot about this one. I'm still using lein-ancient and figwheel, but without lein plugin, just as a library (figwheel-sidecar). Never raised this problem in ancient's github, maybe it's worth it if it's still a problem.

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

No branches or pull requests

3 participants