Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Node > npm start > npm ERR

I try to run this JS project on mac this JS project but when i type npm start it made me a npm error :

enter image description here

I browsing any website to find a solution for my problem, although this i already put on my package.json a start": webpack-dev-server --mode development --open --hot , start": "node app.js" or start": "node index.html"

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I type many combination like on terminal:

npm install npm@latest

npm install --global --verbose promised-io

npm run snyk-protect

npm cache clean --force

…but still no such changes were

>Solution :

It looks like you’re in the root directory of that repository. The package.json however is in frontend/ so you need to navigate there with cd frontend. Once in the correct directory npm start or npm run build should work.

Do make sure that you have run npm install first in that directory.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading