OpenShift repo // package.json错误

时间:2016-08-13 22:59:27

标签: node.js openshift

我无法将我的提交推送到openshift服务器。我有这个错误:

remote: [eval]:1
    remote: var p = require('/var/lib/openshift/578a15de2d527132bd00009e/app-root/runtime/repo//package.json'); console.log(p.scripts.start);
    remote:                                                                                                                          ^
    remote:
    remote: TypeError: Cannot read property 'start' of undefined
    remote:     at [eval]:1:122
    remote:     at ContextifyScript.Script.runInThisContext (vm.js:25:33)
    remote:     at Object.exports.runInThisContext (vm.js:77:17)
    remote:     at Object.<anonymous> ([eval]-wrapper:6:22)
    remote:     at Module._compile (module.js:541:32)
    remote:     at bootstrap_node.js:315:29
    remote:     at _combinedTickCallback (internal/process/next_tick.js:67:7)
    remote:     at process._tickCallback (internal/process/next_tick.js:98:9)
    remote: CLIENT_MESSAGE: Stopping Node.js application...
    Connection to ______.rhcloud.com closed by remote host.
    fatal: The remote end hung up unexpectedly

如何解决这个问题。请提出任何建议。

0 个答案:

没有答案