heroku node.js教程应用程序未运行

时间:2018-04-30 23:02:17

标签: node.js heroku

尝试部署heroku node.js教程,我在" Deploy local部分" https://devcenter.heroku.com/articles/getting-started-with-nodejs#run-the-app-locally

当我尝试运行该应用时,我得到了

[node-js-getting-started]$ ps
PID TTY           TIME CMD
5524 ttys001    0:00.03 /Applications/iTerm.app/Contents/MacOS/iTerm2 --server login -fp Kevin
5526 ttys001    0:00.04 -bash
6050 ttys001    0:00.98 vi README.md
5495 ttys002    0:00.03 /Applications/iTerm.app/Contents/MacOS/iTerm2 --server login -fp Kevin
5497 ttys002    0:00.11 -bash
6061 ttys003    0:00.04 /Applications/iTerm.app/Contents/MacOS/iTerm2 --server login -fp Kevin
6063 ttys003    0:00.02 -bash
6315 ttys003    0:00.02 heroku local web
6316 ttys003    0:00.01 bash /Users/Kevin/.local/share/heroku/client/bin/heroku local web
6321 ttys003    0:00.00 bash /Users/Kevin/.local/share/heroku/client/bin/../7.0.17/bin/heroku local web
6327 ttys003    0:00.00 bash /Users/Kevin/.local/share/heroku/client/bin/heroku local web
6332 ttys003    0:00.01 bash /Users/Kevin/.local/share/heroku/client/bin/../7.0.17/bin/heroku local web
6340 ttys003    0:00.28 /Users/Kevin/.local/share/heroku/client/7.0.17/bin/node /Users/Kevin/.local/share/heroku/client/7.0.17/bin/run local web
6341 ttys003    0:00.12 /Users/Kevin/.local/share/heroku/client/7.0.17/bin/node /Users/Kevin/.local/share/heroku/client/7.0.17/node_modules/@heroku-c
6342 ttys003    0:00.18 node index.js

当我运行ps

时,我可以看到它
await

但是当我去http://localhost:5000时,我只得到一个空白页面。

不确定在哪里找到日志,我应该查看哪个配置文件。

由于

0 个答案:

没有答案