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
shadow-cljs.edn Does not work #38
Comments
please paste you config, and which version of shadow-cljs do you use? There was a breaking change, you should notice: https://github.com/thheller/shadow-cljs/blob/master/CHANGELOG.md#1020170602
Upgrade please. npm i -g shadow-cljs |
Upgrading the global install fixed it. I had a local install that was upgraded to 0.9.4, but global was out of date. Thanks. |
I always feel confused when clojure.spec throws error messages at me. 😆 |
spec errors need to improve thats for sure. I don't like that the local install can have a different version than the global. The global should be able to just launch the local if it exists. How do other JS packages deal with this issue? I see that some packages ship a Technically you only need either the global or the local, but having the local protects the Still need to figure out how things are done properly in the JS world. CLJS/JVM is so different. |
I think using commands at local is better because we often have to accept that different projects using different versions of same module. So I don't have to upgrade all my code when upstreams update. Besides, by maintaining them at local, I can just type |
Trying to run
$ shadow-cljs --once
fails if shadow-cljs.edn exists. Even if using the default config from node_modules/shadow-cljs/bin/default-config.edn, the same error is produced:The spec seems to be expecting a vector and not a map from shadow-cljs.edn. I'm assuming this is not the intended behavior.
The text was updated successfully, but these errors were encountered: