I can’t initiate nodemon

Asked

Viewed 221 times

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?

  • 1

    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.

  • I’ll check. Thank you

  • I changed the door, but now another error message appears .

  • 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

  • This error comes from any of the project? files or dependencies only?

  • possibly from dependencies

  • How was nodemon installed? you installed it globally?

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.