I'm trying to install & start npm in my mac terminal and I got this error.
I'm not sure what's the problem, I downloaded npm, python3, pip, but it still complaining.
Does any expert have an answer to this?
I'm trying to install & start npm in my mac terminal and I got this error.
I'm not sure what's the problem, I downloaded npm, python3, pip, but it still complaining.
Does any expert have an answer to this?
1) go project directory 2) open package.json 3) you can see scripts key, change the script key like this "start":"which command you want to execute"
Example
"scripts": {
"start": "node index.js" or "nodemon index.js" // which file you wants to run
}
if package.json not found in your project directory means, run npm init inside your project directory