Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro ao dar npm start no ponto de partida

> instalura-ssr@0.0.1 start /home/elitebook/Documents/Meus projetos/projeto-instalura-ssr-conclusao
> if test "$NODE_ENV" = "production"; then npm run prod; else gulp dev; fi

[12:10:42] Using gulpfile ~/Documents/Meus projetos/projeto-instalura-ssr-conclusao/gulpfile.js
[12:10:42] Starting 'dev'...
[12:10:42] Starting '.webpack-dev'...
[12:10:42] Finished '.webpack-dev' after 154 μs
[12:10:42] Starting 'wds.dev'...
[12:10:42] Starting 'server-watch-$deps$'...
[12:10:42] Starting '.init-bundle.valid.log'...
[12:10:42] Finished '.init-bundle.valid.log' after 1.04 ms
[12:10:42] Finished 'server-watch-$deps$' after 2.02 ms
[12:10:42] Starting 'server-watch'...
[12:10:42] Starting 'generate-service-worker'...
[12:10:42] Finished 'generate-service-worker' after 406 μs
[nodemon] 1.18.3
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: .etmp/bundle.valid.log /home/elitebook/Documents/Meus projetos/projeto-instalura-ssr-conclusao/src/server/**/*/home/elitebook/Documents/Meus projetos/projeto-instalura-ssr-conclusao/config/**/*
module.js:549
    throw err;
    ^

Error: Cannot find module '/home/elitebook/Documents/Meus'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at module.exports (/home/elitebook/Documents/Meus projetos/projeto-instalura-ssr-conclusao/node_modules/webpack/bin/convert-argv.js:80:13)
    at Object.<anonymous> (/home/elitebook/Documents/Meus projetos/projeto-instalura-ssr-conclusao/node_modules/webpack-dev-server/bin/webpack-dev-server.js:68:48)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
[12:10:43] 'wds.dev' errored after 881 ms
[12:10:43] Error: command exit code 1
    at error (/home/elitebook/Documents/Meus projetos/projeto-instalura-ssr-conclusao/node_modules/electrode-gulp-helper/lib/exec.js:6:15)
    at shell.exec (/home/elitebook/Documents/Meus projetos/projeto-instalura-ssr-conclusao/node_modules/electrode-gulp-helper/lib/exec.js:39:29)
    at /home/elitebook/Documents/Meus projetos/projeto-instalura-ssr-conclusao/node_modules/shelljs/src/exec.js:204:9
    at ChildProcess.exithandler (child_process.js:282:5)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
[12:10:43] 'dev' errored after 884 ms
[12:10:43] Error in plugin 'run-sequence(wds.dev)'
Message:
    command exit code 1

Oquê pode ser?

1 resposta
solução!

Olá Davi pelo que eu entendi do erro o script esta tendo problema com a pasta "Meus projetos", provável que ele não esteja entendendo o espaço no nome da pasta, veja se consegue rodar de outra pasta e diz se funcionou.