1
I am trying to initialize a project with postgre access but it does not start when running the command. follows the error :
Error: listen EADDRINUSE :::3000
at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at Server._listen2 (net.js:1258:14)
at listen (net.js:1294:10)
at Server.listen (net.js:1390:5) 17:24)
at EventEmitter.listen (C:\Users\ERNETWORK\Desktop\Ultimaversao\node_modules\express\lib\application.js:6
17:24)
at Object.<anonymous> (C:\Users\ERNETWORK\Desktop\Ultimaversao\js\model.js:347:5)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
can show source code?
– Gabriel Souza
Matheus, that bug says the server you’re booting wants to use a port that’s already in use. Are you sure you don’t have two equal shows running.
– Sergio
I’ll check. Thank you
– user87256
I changed the door, but now another error message appears .
– user87256
Error: Cannot find module 'C: Users ERNETWORK Desktop Ultimaversion model.js' at Function.Module. _resolveFilename (module.js:469:15) at Function.Module. _load (module.js:417:25) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:390:7) at startup (bootstrap_node.js:150:9) at bootstrap_node.js:505:3
– user87256
This error comes from any of the project? files or dependencies only?
– Sergio
possibly from dependencies
– user87256
How was nodemon installed? you installed it globally?
– Mauricio