
Percy Pablo Barriga Ponce
PreguntaIntento abrir el serfidor y me aparece esto , que puede estar pasando , AYUDA PORFAVOR
Windows PowerShell Copyright (C) Microsoft Corporation. Todos los derechos reservados. Instale la versión más reciente de PowerShell para obtener nuevas características y mejoras. https://aka.ms/PSWindows PS C:\Users\ppbp1\Documents\nuevo curso prog basica\mokepon> node index.js node:events:491 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE: address already in use :::8080 at Server.setupListenHandle [as _listen2] (node:net:1432:16) at listenInCluster (node:net:1480:12) at Server.listen (node:net:1568:7) at Function.listen (C:\Users\ppbp1\Dplication.js:635:24) at Object.<anonymous> (C:\Users\ppbp1\Documents\nuevo curso prog basica\mokepon\index.js:55:5) at Module._compile (node:internal/modules/cjs/loader:1126:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) at Module.load (node:internal/modules/cjs/loader:1004:32) at Function.Module._load (node:internal/modules/cjs/loader:839:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)Emitted 'error' event on Server instance at: at emitErrorNT (node:net:1459:8) at processTicksAndRejections (node:internal/process/task_queues:83:21) { code: 'EADDRINUSE', errno: -4091, syscall: 'listen', address: '::', port: 8080 } PS C:\Users\ppbp1\Documents\nuevo curso prog basica\mokepon> ^C PS C:\Users\ppbp1\Documents\nuevo curso prog basica\mokepon> ^C PS C:\Users\ppbp1\Documents\nuevo curso prog basica\mokepon> node index.js node:events:491 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE: address already in use :::8080 at Server.setupListenHandle [as _listen2] (node:net:1432:16) at listenInCluster (node:net:1480:12) at Server.listen (node:net:1568:7) at Function.listen (C:\Users\ppbp1\D PS C:\Users\ppbp1\Documents\nuevo curso prog basica\mokepon> node index.js node:events:491 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE: address already in use :::8080 at Server.setupListenHandle [as _listen2] (node:net:1432 PS C:\Users\ppbp1\Documents\nuevo curso prog basica\mokepon> node index.js node:events:491 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE: address already in use :::8080 at Server.setupListenHandle [as _listen2] (node:net:1432:16) at listenInCluster (node:net:1480:12) at Server.listen (node:net:1568:7) at Function.listen (C:\Users\ppbp1\Documents\nuevo curso prog basica\mokepon\node_modules\express\lib\application.js:635:24) at Object.<anonymous> (C:\Users\ppbp1\Documents\nuevo curso prog basica\mokepon\index.js:55:5) at Module._compile (node:internal/modules/cjs/loader:1126:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) at Module.load (node:internal/modules/cjs/loader:1004:32) at Function.Module._load (node:internal/modules/cjs/loader:839:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) Emitted 'error' event on Server instance at: at emitErrorNT (node:net:1459:8) at processTicksAndRejections (node:internal/process/task_queues:83:21) { code: 'EADDRINUSE', errno: -4091, syscall: 'listen', address: '::', port: 8080 }

Walter Lensinas
Hola Percy, el error te esta diciendo que el puerto 8080 esta en uso y no puede levantar la aplicación y "escuchar" en ese puerto. Tendrías que ver si tienes otras terminales abiertas en ese puerto (cierra todo o reinicia el sistema operativo) y ejecuta devuelta
node index.js