将Node.js应用程序上传到Bluemix

时间:2017-06-04 14:20:15

标签: javascript node.js ibm-cloud

这是我第一次在bluemix服务器上传一个node.js应用。但是,在推送之后,我收到了这个错误。

2017-06-04T17:12:12.63+0300 [APP/0] ERR events.js:160
2017-06-04T17:12:12.63+0300 [APP/0] ERR       throw er; // Unhandled 'error' 
eve
nt
2017-06-04T17:12:12.63+0300 [APP/0] ERR       ^
2017-06-04T17:12:12.63+0300 [APP/0] ERR Error: getaddrinfo ENOTFOUND 
https://lar
issaappnode-noncharismatic-livingness.mybluemix.net/
2017-06-04T17:12:12.63+0300 [APP/0] ERR     at errnoException (dns.js:28:10)
2017-06-04T17:12:12.63+0300 [APP/0] ERR     at GetAddrInfoReqWrap.onlookup 
[as o
ncomplete] (dns.js:76:26)
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR! argv 
"/home/vcap/app/vendor/nod
e/bin/node" "/home/vcap/app/vendor/node/bin/npm" "start"
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR! node v6.10.2
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR! npm  v3.10.10
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR! code ELIFECYCLE
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR! get-started-node@0.1.1 
start: `
node server.js`
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR! Exit status 1
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR!
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR! If you do, this is most 
likely
a problem with the get-started-node package,
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR! Tell the author that this 
fails
on your system:
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR!     node server.js
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR! You can get information on 
how
to open an issue for this project with:
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR!     npm bugs get-started-
node
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR! Or if that isn't available, 
you
can get their info via:
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR!     npm owner ls get-
started-no
de
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR! There is likely additional 
logg
ing output above.
2017-06-04T17:12:12.68+0300 [APP/0] ERR npm ERR!     /home/vcap/app/npm-
debug.log

server.js包含一段简单的代码。稍后我将添加mongoDB和适当的路线(获取,发布等)。但要实现这一目标,我首先需要修复该错误。有什么想法吗?

谢谢,

西奥。

0 个答案:

没有答案