Open Alisyad9 opened 2 years ago
Some services expect a "start"
script to be present. For example if Heroku doesn't find a Procfile it defaults to trying npm start
to start up your server (https://devcenter.heroku.com/articles/deploying-nodejs#specifying-a-start-script)
"scripts": { "test": "cypress open", "start": "node server.js", "dev": "nodemon server.js" },
you can get rid off the
"start": "node server.js"
since it is not needed. You already have nodemon