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

Following standard setup fails #20

Closed
OliverM opened this issue Jan 29, 2016 · 4 comments
Closed

Following standard setup fails #20

OliverM opened this issue Jan 29, 2016 · 4 comments

Comments

@OliverM
Copy link

OliverM commented Jan 29, 2016

I've created a new closp project (without giving it a namespace via the -n option) and successfully run lein migrate. But when I run lein figwheel, it throws:

clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: No such var: ana/forms-seq*, compiling:(figwheel_sidecar/utils.clj:49:21)

Running lein cljsbuild once completes successfully.

@sveri
Copy link
Owner

sveri commented Jan 29, 2016

Hi @OliverM

I just tried to reproduce this one, but failed to do so on my side. However, googling found this issue:
bhauman/lein-figwheel#286
Could you please try and add: ['org.clojure/clojurescript "1.7.170"] to the plugins section of project.clj?

So that it looks like this:

:plugins [['org.clojure/clojurescript "1.7.170"
              [de.sveri/closp-crud "0.1.4"]
              [lein-cljsbuild "1.1.1"]]

If that works for you I would release a fix with it.

@OliverM
Copy link
Author

OliverM commented Jan 30, 2016

@sveri, I borked testing that, sorry - I updated to lein 2.5.3 after reporting this and the error was resolved. I was on 2.5.1 originally.

@sveri
Copy link
Owner

sveri commented Jan 30, 2016

Hm, it's a pity that a change in the minor leiningen version resolves such an error. Shouldn't happen from my point of view. However, I will add it to the README and close it then. Thanks for the report.

@sveri sveri closed this as completed in ec8fa59 Jan 30, 2016
@OliverM
Copy link
Author

OliverM commented Jan 30, 2016

I had a laptop at home with lein 2.5.0 on it that exhibited the same issue. The issue remained when I added [org.clojure/clojurescript "1.7.170"] to the :plugins entry in project.clj, but upgrading lein to 2.5.3 resolved it as before. Thanks for updating the README!

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

2 participants