Je suis nouveau au développement de NodeJs, j'essaie de déployer mon application sur Azure mais je suis confronté à des problèmes. This is the problemDéploiement continu de l'application Nodejs sur Azure
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
Est-ce que quelqu'un sait comment résoudre ce problème? Merci Vous
Que fait la ligne 'app.js'' 95'? –
Veuillez ne pas publier d'images de messages d'erreur. Inclure tout code pertinent, traces de pile, etc. dans votre message. – avojak
@FelixFong Line 95 Lance le serveur à l'écoute des connexions: serve.listen (app.get ('port'), function() { console.log ('Express serveur écoute sur le port' + app.get ('port')); }) –