2017-05-14 73 views
0

我已经下载anuglar2快速入门从这里开始: https://github.com/angular/quickstart角快速启动应用程序坠毁在Heroku

它工作在本地主机上,但是当我推在Heroku它给我的错误: Application error

到底哪里出问题了在Heroku上使用angular2快速入门?

这里是heorku管理日志细节:

2017-05-14T15:13:16.400648+00:00 app[web.1]: npm ERR! Or if that isn't available, you can get their info via: 
2017-05-14T15:13:16.400445+00:00 app[web.1]: npm ERR!  npm bugs angular-quickstart 
2017-05-14T15:13:16.400839+00:00 app[web.1]: npm ERR!  npm owner ls angular-quickstart 
2017-05-14T15:13:16.401036+00:00 app[web.1]: npm ERR! There is likely additional logging output above. 
2017-05-14T15:13:16.406429+00:00 app[web.1]: 
2017-05-14T15:13:16.406738+00:00 app[web.1]: npm ERR! Please include the following file with any support request: 
2017-05-14T15:13:16.406911+00:00 app[web.1]: npm ERR!  /app/npm-debug.log 
2017-05-14T15:13:16.501756+00:00 heroku[web.1]: State changed from starting to crashed 
2017-05-14T15:13:16.486330+00:00 heroku[web.1]: Process exited with status 1 
+0

这个问题仍然是开放的新的答案,因为我不能上运行的角度快速启动应用程序Heroku的。 –

回答

1

在systemjs.config作为

paths: { 
     // paths serve as alias 
     'npm:': 'https://unpkg.com/' 
    }, 
+0

嗨,谢谢,仍然收到错误,那么systemjs.config的其他部分呢?像 ''我们的应用程序在应用程序文件夹中 'app':'app', ... ' –

+0

npm版本是:'3.10.10'我已经检查过heroku应用程序控制台,是它好吗? –