estoy queriendo subir una aplicacion a heroku, y al momento de querer subirla, por mas que el script: start este en el package.json me sigue lanzando el siguiente error:
2020-08-09T02:55:44.272886+00:00 heroku[web.1]: Starting process with command `npm start`
2020-08-09T02:55:46.594546+00:00 app[web.1]: npm ERR! missing script: start
2020-08-09T02:55:46.602190+00:00 app[web.1]:
2020-08-09T02:55:46.602460+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2020-08-09T02:55:46.602575+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2020-08-09T02_55_46_595Z-debug.log
2020-08-09T02:55:46.654946+00:00 heroku[web.1]: Process exited with status 1
2020-08-09T02:55:46.689907+00:00 heroku[web.1]: State changed from starting to crashed
2020-08-09T02:55:46.692187+00:00 heroku[web.1]: State changed from crashed to starting
2020-08-09T02:55:48.707144+00:00 heroku[web.1]: Starting process with command `npm start`
2020-08-09T02:55:51.352449+00:00 app[web.1]: npm ERR! missing script: start
2020-08-09T02:55:51.358162+00:00 app[web.1]:
2020-08-09T02:55:51.358456+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2020-08-09T02:55:51.358550+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2020-08-09T02_55_51_353Z-debug.log
2020-08-09T02:55:51.412209+00:00 heroku[web.1]: Process exited with status 1
2020-08-09T02:55:51.448194+00:00 heroku[web.1]: State changed from starting to crashed
2020-08-09T02:57:11.076792+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=pedidos.herokuapp.com request_id=f0977ac8-7cb0-406e-8994-6c3d57aec840 fwd="181.228.36.68" dyno= connect= service= status=503 bytes= protocol=https
el package.json es el siguiente:
{
"name": "crud-pedidos",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node src/app.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"body-parser": "^1.19.0",
"ejs": "^3.1.3",
"express": "^4.17.1",
"mongoose": "^5.9.28",
"morgan": "^1.10.0"
},
"devDependencies": {
"nodemon": "^2.0.4"
}
}
probe eliminando los modulos y volvinedo a instalar todo de nuevo pero sigue sin funcionar