Closed ghost closed 7 years ago
You need to add Nightlight to the dependencies list in order to use it in the first place, so I don't think that part needs to be repeated.
Not quite. If it's in your ~/.lein/profiles.clj
file as the website lists earlier, it will start up just fine (actually, nightlight starts either way). It's only when you go to follow the steps in the CLJS REPL section and require it in a project namespace that you run into this issue, when cljsbuild
fails.
Ah, I see. I just updated the instructions. Thanks for letting me know.
If nightlight is going to be required in the core namespace, it has to be specified in the dependencies in
project.clj
also, or the build will choke with a namespace error.Example snippet from lein sample project.clj