尝试在heroku上部署Node.js应用程序,但出现以下错误。谁能帮助我解决我的问题。
2018-06-29T00:01:21.641247 + 00:00 app [web.1]:npm ERR! 2018-06-29T00:01:21.641578 + 00:00 app [web.1]:npm错误!在v1@1.0.0启动脚本处失败。 2018-06-29T00:01:21.641895 + 00:00 app [web.1]:npm错误! npm可能不是问题。可能还有其他日志记录 输出上面。 2018-06-29T00:01:21.660378 + 00:00 app [web.1]:npm错误!可以在以下位置找到此运行的完整日志: 2018-06-29T00:01:21.659090 + 00:00 app [web.1]: 2018-06-29T00:01:21.660779 + 00:00 app [web.1]:npm错误! /app/.npm/_logs/2018-06-29T00_01_21_645Z-debug.log 2018-06-29T00:01:21.758849 + 00:00 heroku [web.1]:状态从开始更改为崩溃 2018-06-29T00:01:21.736544 + 00:00 heroku [web.1]:进程退出,状态为1 2018-06-29T00:01:22.688914 + 00:00 heroku [router]:at =错误代码= H10 desc =“应用程序崩溃”方法=获取路径=“ /” host = campground-.herokuapp.com request_id = 7b46f802-439e-4038-85f4-882fbd765417 fwd =“ 139.94.66.0” dyno = connect =服务= status = 503字节= protocol = https 2018-06-29T00:01:23.464401 + 00:00 heroku [router]:at =错误代码= H10 desc =“应用程序崩溃” method = GET path =“ / favicon.ico” host = campground-.herokuapp.com request_id = fe27806a-8390-431f-ba14-233625c388cf fwd =“ 139.94.66.0” dyno = connect =服务= status = 503字节= protocol = https 2018-06-29T00:09:27.204098 + 00:00 heroku [web.1]:状态从崩溃更改为开始 2018-06-29T00:09:32.209782 + 00:00 heroku [web.1]:使用命令
npm start
启动进程 2018-06-29T00:09:35.411423 + 00:00 app [web.1]: 2018-06-29T00:09:35.411450 + 00:00 app [web.1]:> v1@1.0.0开始/ app 2018-06-29T00:09:35.411452 + 00:00 app [web.1]:>节点app.js 2018-06-29T00:09:35.411454 + 00:00 app [web.1]: