I am making a PERN stack(PostgreSQL, Express,React.JS,Node.JS) application. I downloaded the file from github repo, opened it in VS code and tried to run the server using the following command.
Command:
npm start
But I am getting this error message
Error:
Missing script: "start"
And when I saw the list of scripts using the command of "npm run"
I got this error message
Error:
echo "Error: no test specified" && exit 1
2
Answers
In your case the command to start the server is:
or
Before this install node modules via:
It will be good if you send Packege.json file Screen shot because script is mention there.
you try npm run start
Make sure first try npm init
npm install
node index.js