Fork me on GitHub
#shadow-cljs
<
2022-05-30
>
Luis Cerritos20:05:28

Hello guys! I am using this package.json for my shadow-cljs and running my project with npm run watch, but if my node modules is deleted… It is always asking me for react, I need to run separately npm install react Anybody has an idea why if I have react in the package json it is still asking for it?

thheller20:05:51

having it in package.json does not mean they are installed. if you delete node_modules you need to run npm install to install all the packages listed in package.json.

Luis Cerritos14:05:04

Yeah, added the step to my pipeline (`npm install`) and fixed the issue. Thanks @U05224H0W

thheller20:05:11

its not like clojure where they are downloaded automatically

1