1.我用express h2h生成的模板项目,然后npm install, 2.在根目录下增加 Procfile文件,内容是:web: npm start. 3.上传到heroku 4.foreman start 启动项目 但是发现此时项目访问不了了。 http://h2h.herokuapp.com/ 报错是: 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.
求有经验的帮我解决下,谢谢。