Fork me on GitHub
#luminus
<
2021-06-30
>
juri10:06:20

I created a project using lein new luminus my-app +re-frame +reitit today, and I also have project created the same way that is a couple of months old. The old project has figwheel and I can run the frontend using lein figwheel , but the new one doesn't. The new one seems to have shadow-cljs. But if I try running the frontend using shadow-cljs, as described in the luminus docs, it doesn't work either (see image). How do I run this? Do I need to add something?

javahippie11:06:45

You might have found outdated docs, I fell into the same trap last month. The lein plugin is not included anymore. You can run shadow-cljs watch app instead

juri11:06:58

Hmm, that didn't work. Should it be npx shadow-cljs watch app ? I tried that, and it seems to start, but then I get the following message. Do I need to do npm install first or something else? EDIT: Checked the link you provided now, and saw that I do need to run npm install . Thansk for the help!