角速度快速启动应用程序在heroku上崩溃

时间:2017-05-14 15:18:54

标签: angular heroku

我从这里下载了anuglar2快速入门: https://github.com/angular/quickstart

它正在使用localhost但是当我推送Heroku时它给了我错误: Application error

在Heroku上使用angular2快速启动会出现什么问题?

以下是来自heorku admin的日志详细信息:

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

1 个答案:

答案 0 :(得分:1)

在systemjs.config中

  cipher = new_cipher
  cipher.encrypt
  cipher.key = @secret

  # Rely on OpenSSL for the initialization vector
  iv = cipher.random_iv