所以我想要部署此應用程序,這裏是我搜索互聯網的日誌,並沒有太多的幫助。以下是日誌Bluemix錯誤部署node.js應用程序buildpack
2015-10-20T10:15:53.17-0400 [API/0] OUT Updated app with guid 1928479c-5e79-47bc-a8e0-1bc7d7fb34b1 ({"name"=>"braincar", "buildpack"=>"https://github.com/cloudfoundry/nodejs-buildpack"})
2015-10-20T10:17:46.30-0400 [API/0] OUT Updated app with guid 1928479c-5e79-47bc-a8e0-1bc7d7fb34b1 ({"state"=>"STOPPED"})
2015-10-20T10:17:5 [DEA/101] OUT Got staging request for app with id 1928479c-5e79-47bc-a8e0-1bc7g43q
2015-10-20T10:17:59.47-0400 [API/2] OUT Updated app with guid 1928479c-5e79-47bc-a8e0-1bc7d7fb34b1 ({"state"=>"STARTED"})
2015-10-20T10:17:59.61-0400 [STG/101] OUT -----> Downloaded app package (32K)
2015-10-20T10:17:59.72-0400 [STG/0] ERR Cloning into '/tmp/buildpacks/nodejs-buildpack'...
2015-10-20T10:18:01.23-0400 [STG/0] OUT Submodule 'compile-extensions' (https://github.com/cloudfoundry-incubator/compile-extensions.git) registered for path 'compile-extensions'
2015-10-20T10:18:01.28-0400 [STG/0] ERR Cloning into 'compile-extensions'...
2015-10-20T10:18:02.39-0400 [STG/0] OUT Submodule path 'compile-extensions': checked out 'ce9345a9a6e7b00266194cadd18fdwqfe4q'
2015-10-20T10:18:02.48-0400 [STG/0] OUT -------> Buildpack version 1.5.0
2015-10-20T10:18:02.50-0400 [STG/0] ERR cat: /tmp/staged/app/package.json: No such file or directory
2015-10-20T10:18:02.51-0400 [STG/0] ERR ! Unable to parse package.json
2015-10-20T10:18:02.51-0400 [STG/0] OUT -----> Build failed
2015-10-20T10:18:02.51-0400 [STG/0] OUT We're sorry this build is failing! You can troubleshoot common issues here:
2015-10-20T10:18:02.51-0400 [STG/0] OUT https://devcenter.heroku.com/articles/troubleshooting-node-deploys
2015-10-20T10:18:02.52-0400 [STG/0] OUT If you're stuck, please submit a ticket so we can help:
2015-10-20T10:18:02.52-0400 [STG/0] OUT https://help.heroku.com/
2015-10-20T10:18:02.52-0400 [STG/0] OUT Love,
2015-10-20T10:18:02.52-0400 [STG/0] OUT Heroku
2015-10-20T10:18:02.52-0400 [STG/0] OUT Staging failed: Buildpack compilation step failed
2015-10-20T10:18:02.86-0400 [API/2] ERR encountered error: App staging failed in the buildpack compile phase
所以,現在我應該怎麼做來得到這個加載我試圖運行此命令上面
cf push braincar -b https://github.com/cloudfoundry/nodejs-buildpack
的日誌,結果我該怎麼辦,請幫助!謝謝!
你有一個package.json爲你的應用程序? –