我對node.js
很新,我只是按照這些步驟來創建一個簡單的node.js應用程序。 Here it is on githubNodejitsu while while start node.js app
我跑的命令jitsu deploy
從終端將其部署到nodejitsu
,但是我得到這個錯誤就在這裏,請上什麼可能是錯誤的代碼文件的任何幫助嗎? Here is the code on git hub
這是出現的錯誤:
prompt: Is this ok?: (yes) yes
info: Creating snapshot 0.0.0-5
info Uploading: [=============================] 100%
info: Updating app test
info: Activating snapshot 0.0.0-5 for test
info: Starting app test
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: Error spawning drone
error: Script took too long to listen on a socket
error:
error: This type of error is usually a user error.
error: Error output from Haibu:
error:
error: Error: Error spawning drone
error: at Object.onTimeout [as _onTimeout] (/root/haibu-orchestra/node_mod
ules/haibu/lib/haibu/core/spawner.js:396:15)
error: at Timer.list.ontimeout (timers.js:101:19)
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <[email protected]>
謝謝它的好評 –
他的出口正在'index.js'文件中被調用,Peter。他的'scripts.start'是'node index.js',而不是'node server.js'。 – Sly