-
Notifications
You must be signed in to change notification settings - Fork 2
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
Exception in thread "main" clojure.lang.ExceptionInfo #1
Comments
Hmm, that's new to me. But, I just tested and I can duplicate your crash, running This does work fine when I start the project in my normal way: In Emacs, open one of the .cljs files and invoke I don't know why the cmdline startup fails (and I apologize that my readme led you down that path!). |
Fixed now; thanks for catching this! The problem had been a dependency on an older version of lein-figwheel. I'm not sure why |
Thanks! Now I got an other error:
|
tl;dr - You can work around this problem by commenting out the four strings in your copy of Details: Lein uses the checkouts directory as a way to immediately see changes when actively working on both a project and its dependencies. Trilystro is my testbed app; I make changes to sodium and re-frame-firebase as I work on it. So, in my local configuration, checkouts contains symlinks to those other projects. This works beautifully for development, and also for deployment, where lein nicely detects that the checkouts dirs are empty and ignores them with just a warning. But, you've just discovered that Figwheel is not as forgiving. I don't know if this is a recent change to Figwheel, or if I simply never tested Figwheel without checkouts setup. I'll check with the Figwheel folks and see if I can find a solution. I'll also update Meanwhile, like I said above, you can run trilystro by removing the four references to checkouts in project.clj. Alternatively, if you'd like to contribute to those projects, you can clone them to your machine and then create symlinks to them in your checkouts dir. See https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#checkout-dependencies for details. |
It looks like this is an open issue in Figwheel: bhauman/lein-figwheel#517 |
I've updated the README.md to explain the problem and workaround. I don't think I can do any better, so I'm closing this issue. Thank you for your help! If you know a better workaround for this problem, please re-open here. If you hit any more problems, please open new issues for them. |
It worked! Thanks a lot. |
Hello! Just cloned your project and got the following when running
lein figwheel dev
:Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: