我在heroku中运行应用时遇到问题。这是我第一次尝试在heroku上运行某些内容,因此我不确定需要哪些信息或相关信息。该应用程序是node.js,应该只使用socket.io和express模块。
请告诉我应该包含的内容,以帮助找出问题所在。
这是我进入应用页面时显示的内容:
Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
这是最新的构建日志:
-----> Node.js app detected
-----> Resetting git environment
PRO TIP: Specify a node version in package.json
See https://devcenter.heroku.com/articles/nodejs-support
-----> Defaulting to latest stable node: 0.10.33
-----> Downloading and installing node
-----> Restoring node_modules directory from cache
-----> Pruning cached dependencies not specified in package.json
npm WARN package.json chat@1.0.0 No repository field.
npm WARN package.json chat@1.0.0 No README data
-----> Exporting config vars to environment
-----> Installing dependencies
npm WARN package.json chat@1.0.0 No repository field.
npm WARN package.json chat@1.0.0 No README data
-----> Caching node_modules directory for future builds
-----> Cleaning up node-gyp and npm artifacts
-----> Building runtime environment
-----> Discovering process types
Procfile declares types -> web
-----> Compressing... done, 6.4MB
-----> Launching... done, v14
https://cah-js-final-project.herokuapp.com/ deployed to Heroku