使用NodeJS应用程序在Heroku中出现应用程序错误

时间:2020-06-16 13:58:41

标签: javascript node.js typescript heroku

我在heroku上运行nodejs / nestjs应用程序时遇到问题。 点击Open App后,它把我扔了Application Error,并且记录了:

2020-06-16T13:55:11.687060+00:00 app[web.1]: npm ERR! test@0.0.1 start: `nest start`
2020-06-16T13:55:11.687187+00:00 app[web.1]: npm ERR! spawn ENOENT
2020-06-16T13:55:11.687442+00:00 app[web.1]: npm ERR! 
2020-06-16T13:55:11.687578+00:00 app[web.1]: npm ERR! Failed at the test@0.0.1 start script.
2020-06-16T13:55:11.687690+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-06-16T13:55:11.699857+00:00 app[web.1]: 
2020-06-16T13:55:11.700105+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2020-06-16T13:55:11.700273+00:00 app[web.1]: npm ERR!     /app/.npm/_logs/2020-06-16T13_55_11_689Z-debug.log
2020-06-16T13:55:11.774146+00:00 heroku[web.1]: Process exited with status 1
2020-06-16T13:55:11.820500+00:00 heroku[web.1]: State changed from starting to crashed

ps。我的项目是在nestJS中打招呼的标准项目

有人可以帮助我吗?

0 个答案:

没有答案
相关问题