今天我把我的应用程序从create react移动到react,但heroku绑定端口失败,我读了其他问题,但找不到这样的问题我已经正确设置了端口,但仍然无法绑定它 "scripts": {2019-02-13T17:57:05.119328+00:00 heroku[web.1]: State) -> Web process f
我正试图在Heroku上部署我的应用程序。我遵循了以下说明:,启用websockets,但是当我运行$heroku打开时,I会出现在错误页面上。这是我从heroku那里得到的日志:
2014-07-14T11:41:27.331343+00:00 heroku[web.1]: Starting process with command `node[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT withi
我已经开发了一个使用ES6语法的小express应用程序,所以在将它部署到heroku之后,我收到了这个错误。[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch+00:00 heroku[web.1]: Process exited with status 137
2021-04-09T12:15:15.039050+00:00 heroku[web.
我的应用程序的日志在加载时生成这组错误,即使NodeBB绑定到端口,Heroku错误是因为它不能绑定到端口。知道为什么会这样吗?或者这是否与我在某个地方的设置有关?Jul 17 05:41:31 fateoftime heroku/web.1: Starting process with command `node app.js`
Jul 17 05:41:37/web.1: State changed from starting to cra
在我将我的应用程序部署到heroku之后,它将构建得很好,但是在它运行了start脚本:npm start之后,它会挂起,然后最终崩溃。我尝试过玩它,但是我做的任何事情似乎都没有让它在部署后真正运行。下面是来自heroku logs --tails的日志输出和相关代码。[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch+00:00 heroku