Have you ever tried to run “npm start” or “npm build” in your, say, reacts project, and it does not do anything?
If you pretty much confirm that it is not your programming errors nor environmental issue nor config issue and you google this issue for hours and got nothing working, you can try check for followings .
- check whether npm is set to ignore running script
npm config get ignore-scripts
2. If it returns true, set it to false.
npm config set ignore-scripts false
Now you can try running your npm scripts again ;)
That’s it.
Happy coding.
Find me at Twitter @rick3817
Reference: https://stackoverflow.com/questions/59028809/npm-start-command-doesnt-do-anything