Fork me on GitHub
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?


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


its not like clojure where they are downloaded automatically