I have checked both commands npm start and npm run start, both works perfectly. I used create-react-app. But to make configuration changes in the C
npm start
npm run start
npm test, npm start, npm restart, and npm stop are all aliases for npm run xxx.
npm test
npm restart
npm stop
npm run xxx.
For all other scripts you define, you need to use the npm run xxx syntax.
scripts
npm run xxx
See the docs at https://docs.npmjs.com/cli/run-script for more information.