相关疑难解决方法(0)

Heroku部署错误H10(App崩溃)

我有一个RoR应用程序在我的本地计算机上工作,但当我将它发送到heroku时,它崩溃了.错误日志给出错误H10并说:

    2012-11-21T15:26:47+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.2/lib/new_relic/control/instance_methods.rb:95:in `start_agent'
    2012-11-21T15:26:48+00:00 heroku[web.1]: State changed from starting to crashed
    2012-11-21T15:26:48+00:00 heroku[web.1]: Process exited with status 1
    2012-11-21T15:26:59+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
    2012-11-21T15:27:00+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
    2012-11-21T15:30:08+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
    2012-11-21T15:30:08+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico …
Run Code Online (Sandbox Code Playgroud)

deployment ruby-on-rails heroku

124
推荐指数
7
解决办法
11万
查看次数

如何部署Angular.js应用程序?

这可能是一个愚蠢的问题,但我想知道我应该使用什么平台来部署我的Angular.js应用程序?我尝试使用Heroku但得到了"没有检测到Cedar支持的应用程序"错误.有什么想法吗?

UPDATE

我试图将此作为一个Node.js应用程序服务于heorku,但仍然无法让它工作.在我的应用程序的根目录中有一个web-server.js文件,我在我的Procfile中引用它:

web: node web-server.js
Run Code Online (Sandbox Code Playgroud)

这是我的package.json文件,也在根目录中:

{
"name": "medicare-data",
"version": "0.0.1",
"dependencies": {
},
"engines": {
    "node": "0.10.x",
    "npm": "1.2.x"
},
"respository": "medicare-data",
"author": "sararob"
}
Run Code Online (Sandbox Code Playgroud)

我的heroku日志中出现了"slug编译错误".关于为什么这可能不起作用的想法?

deployment node.js angularjs

15
推荐指数
1
解决办法
1万
查看次数

标签 统计

deployment ×2

angularjs ×1

heroku ×1

node.js ×1

ruby-on-rails ×1