2017-08-08 42 views
-1

我是NodeJs开发人员,我试图在Azure上部署应用程序,但我遇到了一些问题。 This is the problem在Azure上连续部署Nodejs应用程序

events.js:141 
     throw er; // Unhandled 'error' event 
    ^

Error: listen EADDRINUSE \\.\pipe\5799b955-24fe-43fb-abe5-344be4ce5640 
    at Object.exports._errnoException (util.js:873:11) 
    at exports._exceptionWithHostPort (util.js:896:20) 
    at Server._listen2 (net.js:1237:19) 
    at listen (net.js:1286:10) 
    at Server.listen (net.js:1376:5) 
    at Object.<anonymous> (D:\home\site\wwwroot\app.js:95:7) 
    at Module._compile (module.js:409:26) 
    at Object.Module._extensions..js (module.js:416:10) 
    at Module.load (module.js:343:32) 
    at Function.Module._load (module.js:300:12) 

npm ERR! Windows_NT 6.2.9200 
npm ERR! argv "D:\\Program Files (x86)\\nodejs\\4.4.7\\node.exe" "D:\\Program Files (x86)\\npm\\2.15.8\\node_modules\\npm\\bin\\npm-cli.js" "start" 
npm ERR! node v4.4.7 
npm ERR! npm v2.15.8 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] start: `node app.js` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] start script 'node app.js'. 
npm ERR! This is most likely a problem with the NodejsWebApp1 package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  node app.js 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs NodejsWebApp1 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR! 
npm ERR!  npm owner ls NodejsWebApp1 
npm ERR! There is likely additional logging output above. 

npm ERR! Please include the following file with any support request: 
npm ERR!  D:\home\site\wwwroot\npm-debug.log 

有谁知道如何解决这个问题? 谢谢

+0

'app.js'行'95'做了什么? –

+2

请不要张贴错误信息的图片。在你的帖子中包含任何相关的代码,堆栈跟踪等。 – avojak

+0

@FelixFong Line 95启动服务器侦听连接: serve.listen(app.get('port'),function(){ console.log('Express server listening on port'+ app.get('port' )); }) –

回答

相关问题