简体   繁体   中英

Do I need to do npm install for module not found error

I am making a change to someone else's repository. When I try to run the code using node app.js it gives me "Module not found". Do I need to do npm install?

When you clone or fork code from git repo you always want to run npm install in the projects root folder. This will install all necessary dependencies that projects uses

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM