大家好,我的流星JS的应用程序是显示如下:应用程序错误的Heroku与流星JS部署
应用程序错误 应用程序中发生错误,您的网页无法送达。如果您是应用程序所有者,请查看日志以获取详细信息。
这里是我跑的命令(通过下面的教程,获得迄今为止部署的):
的Heroku创建mkrteach
Heroku的插件:创建mongolab
Heroku的配置:设置ROOT_URL = https://mkrteach.herokuapp.com/
混帐推Heroku的主
这里是我的Heroku的日志显示:
2017-05-24T23:43:20.191506+00:00 app[api]: Enable Logplex by user
[email protected]
2017-05-24T23:43:20.191506+00:00 app[api]: Release v2 created by user [email protected]
2017-05-24T23:43:20.019249+00:00 app[api]: Release v1 created by user [email protected]
2017-05-24T23:43:20.019249+00:00 app[api]: Initial release by user [email protected]
2017-05-24T23:43:43.106898+00:00 app[api]: Attach MONGODB (@ref:mongolab-round-29311) by user [email protected]
2017-05-24T23:43:43.106898+00:00 app[api]: Release v3 created by user [email protected]
2017-05-24T23:44:21.663825+00:00 app[api]: Release v4 created by user mohamm[email protected]
2017-05-24T23:44:21.663825+00:00 app[api]: Set ROOT_URL config vars by user [email protected]
2017-05-24T23:44:32.978581+00:00 app[api]: Release v5 created by user [email protected]
2017-05-24T23:44:32.978581+00:00 app[api]: Set METEOR_SETTINGS config vars by user [email protected]
2017-05-24T23:44:50.000000+00:00 app[api]: Build started by user [email protected]
2017-05-24T23:46:56.713557+00:00 app[api]: Deploy 9e5efce2 by user [email protected]
2017-05-24T23:46:56.713557+00:00 app[api]: Release v6 created by user [email protected]
2017-05-24T23:46:56.746656+00:00 app[api]: Scaled to [email protected]:Free by user [email protected]
2017-05-24T23:44:50.000000+00:00 app[api]: Build succeeded
2017-05-24T23:47:04.554518+00:00 heroku[web.1]: Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js`
2017-05-24T23:47:07.867019+00:00 heroku[web.1]: Process exited with status 8
2017-05-24T23:47:07.886082+00:00 heroku[web.1]: State changed from starting to crashed
2017-05-24T23:47:07.887443+00:00 heroku[web.1]: State changed from crashed to starting
2017-05-24T23:47:07.715326+00:00 app[web.1]:
2017-05-24T23:47:07.715736+00:00 app[web.1]: /app/.meteor/heroku_build/app/programs/server/mini-files.js:82
2017-05-24T23:47:07.716081+00:00 app[web.1]: const unicodeNormalizePath = (path) => {
2017-05-24T23:47:07.716147+00:00 app[web.1]: ^
2017-05-24T23:47:07.741911+00:00 app[web.1]: SyntaxError: Unexpected token >
2017-05-24T23:47:07.741913+00:00 app[web.1]: at Module._compile (module.js:439:25)
2017-05-24T23:47:07.741914+00:00 app[web.1]: at Object.Module._extensions..js (module.js:474:10)
2017-05-24T23:47:07.741915+00:00 app[web.1]: at Module.load (module.js:356:32)
2017-05-24T23:47:07.741915+00:00 app[web.1]: at Function.Module._load (module.js:312:12)
2017-05-24T23:47:07.741916+00:00 app[web.1]: at Module.require (module.js:364:17)
2017-05-24T23:47:07.741917+00:00 app[web.1]: at require (module.js:380:17)
2017-05-24T23:47:07.741918+00:00 app[web.1]: at Object.<anonymous> (/app/.meteor/heroku_build/app/programs/server/boot.js:9:13)
2017-05-24T23:47:07.741918+00:00 app[web.1]: at Module._compile (module.js:456:26)
2017-05-24T23:47:07.741919+00:00 app[web.1]: at Object.Module._extensions..js (module.js:474:10)
2017-05-24T23:47:07.741919+00:00 app[web.1]: at Module.load (module.js:356:32)
2017-05-24T23:47:12.921976+00:00 heroku[web.1]: Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js`
2017-05-24T23:47:14.666363+00:00 app[web.1]: /app/.meteor/heroku_build/app/programs/server/mini-files.js:82
2017-05-24T23:47:14.665865+00:00 app[web.1]:
2017-05-24T23:47:14.672056+00:00 app[web.1]: at Module._compile (module.js:439:25)
2017-05-24T23:47:14.666824+00:00 app[web.1]: ^
2017-05-24T23:47:14.672057+00:00 app[web.1]: at Object.Module._extensions..js (module.js:474:10)
2017-05-24T23:47:14.666765+00:00 app[web.1]: const unicodeNormalizePath = (path) => {
2017-05-24T23:47:14.672054+00:00 app[web.1]: SyntaxError: Unexpected token >
2017-05-24T23:47:14.672058+00:00 app[web.1]: at Module.load (module.js:356:32)
2017-05-24T23:47:14.672058+00:00 app[web.1]: at Function.Module._load (module.js:312:12)
2017-05-24T23:47:14.672059+00:00 app[web.1]: at Module.require (module.js:364:17)
2017-05-24T23:47:14.672059+00:00 app[web.1]: at require (module.js:380:17)
2017-05-24T23:47:14.672060+00:00 app[web.1]: at Object.<anonymous> (/app/.meteor/heroku_build/app/programs/server/boot.js:9:13)
2017-05-24T23:47:14.672062+00:00 app[web.1]: at Module.load (module.js:356:32)
2017-05-24T23:47:14.672061+00:00 app[web.1]: at Module._compile (module.js:456:26)
2017-05-24T23:47:14.672061+00:00 app[web.1]: at Object.Module._extensions..js (module.js:474:10)
2017-05-24T23:47:14.751083+00:00 heroku[web.1]: State changed from starting to crashed
2017-05-24T23:47:14.731102+00:00 heroku[web.1]: Process exited with status 8
2017-05-24T23:47:27.649678+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=mkred-teach.herokuapp.com request_id=ee6e0ca4-3bee-48ae-925a-562d23e47dd7 fwd="208.185.23.206" dyno= connect= service= status=503 bytes= protocol=https
2017-05-24T23:47:28.143232+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=mkred-teach.herokuapp.com request_id=5c736339-3336-4c8a-986a-ae572f99a441 fwd="208.185.23.206" dyno= connect= service= status=503 bytes= protocol=https
Mohammads-MacBook-Pro:mkrED2 minimoe$
我不知道如何解决这个问题,谁能告诉我如何解决这个问题?
哪个流星buildpack要用? –
[流星建立的箭头函数崩溃heroku部署]的可能重复(https://stackoverflow.com/questions/42870295/arrow-function-from-meteor-build-is-crashing-heroku-deploy) – Madusha