Openshift中的节点js错误

时间:2015-08-03 06:16:45

标签: node.js openshift loopbackjs

我使用Loopback开发了一个项目。我正在尝试将其部署到Openshift。我正在使用openshift-cartridge-strongloop。当我创建一个openshift的应用程序时。 在安装过程中显示

remote: npm ERR! peerinvalid The package chai does not satisfy its siblings' peerDependencies requirements!
remote: npm ERR! peerinvalid Peer chai-json-schema@1.0.10 wants chai@>= 1.6.1 < 2
remote: npm ERR! peerinvalid Peer chai-fs@0.0.3 wants chai@>= 1.6.1 < 2

部署后,

成功运行
  

http://even3co-codisl.rhcloud.com/explorer/

但是在rhc尾部我得到了错误。这有什么问题?

npm ERR! System Linux 2.6.32-504.16.2.el6.x86_64
    npm ERR! command "/var/lib/openshift/55bf03dc7628e1eadc000089/strongloop//bin/node/node" "/var/lib/openshift/55bf03dc7628e1eadc000089/strongloop/bin/node/npm" "start" "-d"
    npm ERR! cwd /var/lib/openshift/55bf03dc7628e1eadc000089/app-root/runtime/repo
    npm ERR! node -v v0.10.30
    npm ERR! npm -v 1.4.21
    npm ERR! code ELIFECYCLE
    npm ERR! 
    npm ERR! Additional logging details can be found in:
    npm ERR!     /var/lib/openshift/55bf03dc7628e1eadc000089/app-root/runtime/repo/npm-debug.log
    npm ERR! not ok code 0

0 个答案:

没有答案