Error when git pushing into the repo for NodeJS app

Issue #46 wontfix
Jimmy Chu created an issue
$ git push -f cnpaas master
... (ran for 2 mins from 23:28 - 23:30)
... <truncated> ...
remote: npm info postinstall browserify@3.28.2
remote: npm ERR!
remote: npm ERR! Additional logging details can be found in:
remote: npm ERR!     /var/lib/openshift/54e87b7c9068dc68e400004e/app-root/runtime/repo/npm-debug.log
remote: npm ERR! not ok code 0
remote: An error occurred executing 'gear postreceive' (exit code: 1)
remote: Error message: CLIENT_ERROR: Failed to execute: 'control build' for /var/lib/openshift/54e87b7c9068dc68e400004e/nodejs
remote:
remote: For more details about the problem, try running the command again with the '--trace' option.
To 54e87b7c9068dc68e400004e@uberapp-ectsanggmail.app.cnpaas.io:~/git/uberapp.git
 + 23cbffd...4aa8b86 master -> master (forced update)

Going to my app:
http://uberapp-ectsanggmail.app.cnpaas.io
... get 503 Service Unavailable

Running a second time doesn't help

$ git push -f cnpaas master
Everything up-to-date

Reported by Eric Tsang

Comments (9)

  1. Jimmy Chu reporter

    Need to write a doc on deploying Express NodeJS app on Openshift using specific openshift env vars ( issue #52).

    Then verify this issue again.

  2. quasimo

    我看看。稍等。另外。你朋友的 node.js 有没有用到什么 framework ?譬如express?

  3. quasimo

    但是从git remote的返回信息看,有可能是npm有问题。如果可以获取它的应用的话,我可以用一些我研究过的方法deploy试试。

  4. Log in to comment