I tried to use npm start to start my application. So I added the following line in my package.json file:
"scripts": {
"start": "node app.js"
}
however, when I used npm start, I met with this problem:
but when I used node app.js, it worked. So what's the problem?
Use the command npm run start instead of npm start.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With