1
resposta

Boa tarde!

projeto-instalura-ssr$ npm start

> instalura-ssr@0.0.1 start /home/vinicius/JavaScript/React/projeto-instalura-ssr
> if test "$NODE_ENV" = "production"; then npm run prod; else gulp dev; fi

[15:28:21] Using gulpfile ~/JavaScript/React/projeto-instalura-ssr/gulpfile.js
[15:28:21] Starting 'dev'...
[15:28:21] Starting '.webpack-dev'...
[15:28:21] Finished '.webpack-dev' after 107 μs
[15:28:21] Starting 'wds.dev'...
[15:28:21] Starting 'server-watch-$deps$'...
[15:28:21] Starting '.init-bundle.valid.log'...
[15:28:21] Finished '.init-bundle.valid.log' after 242 μs
[15:28:21] Finished 'server-watch-$deps$' after 2.5 ms
[15:28:21] Starting 'server-watch'...
[15:28:21] Starting 'generate-service-worker'...
[15:28:21] Finished 'generate-service-worker' after 302 μs
[nodemon] 1.12.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: .etmp/bundle.valid.log /home/vinicius/JavaScript/React/projeto-instalura-ssr/src/server/**/* /home/vinicius/JavaScript/React/projeto-instalura-ssr/config/**/*
Just FYI: Entry point configuration is not found, using default entry point... - optional module not found; Path "/home/vinicius/JavaScript/React/projeto-instalura-ssr/src/client/entry.config.js"
Just FYI: optional module not found; Path "/home/vinicius/JavaScript/React/projeto-instalura-ssr/config/sw-config.js"
Just FYI: optional module not found; Path "/home/vinicius/JavaScript/React/projeto-instalura-ssr/config/default.json"
  0% compileevents.js:160
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE 127.0.0.1:2992
    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 net.js:1404:9
    at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:62:16)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:81:10)
[15:28:23] 'wds.dev' errored after 1.62 s
[15:28:23] Error: command exit code 1
    at error (/home/vinicius/JavaScript/React/projeto-instalura-ssr/node_modules/electrode-gulp-helper/lib/exec.js:6:15)
    at shell.exec (/home/vinicius/JavaScript/React/projeto-instalura-ssr/node_modules/electrode-gulp-helper/lib/exec.js:39:29)
    at /home/vinicius/JavaScript/React/projeto-instalura-ssr/node_modules/shelljs/src/exec.js:204:9
    at ChildProcess.exithandler (child_process.js:211:5)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:891:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
[15:28:23] 'dev' errored after 1.62 s
[15:28:23] Error in plugin 'run-sequence(wds.dev)'
Message:
    command exit code 1

Alguém tem a solução para isso?

1 resposta

Oi Vinicius, me parece algum problema em conseguir rodar o script de start, por curiosidade, que sistema operacional você está usando?

Tenta por favor executar gulp dev na raiz do projeto por favor?