나는 매우 새로운 node.js
에 익숙하다. 이제 간단한 node.js 애플리케이션을 만드는 단계를 수행했다. Here it is on githubNodejitsu while node.js app
나는 그러나 내가 바로 여기이 오류를 가지고, nodejitsu
에 배포하는 터미널에서 명령 jitsu deploy
을 실행하십시오 코드 파일이 잘못 될 수 있는지에 어떤 도움? 여기 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' 파일, 피터에서 호출되고 있습니다. 그의'scripts.start'는'node server.js'가 아니라'node index.js'입니다. – Sly