0
respostas

Npm start não inicializa o projeto

Recebo o seguinte erro ao tentar rodar o projeto:

instalura-ssr@0.0.1 start /home/luanfonsecap/Documentos/Projetos/projeto-instalura-ssr-conclusao
> if test "$NODE_ENV" = "production"; then npm run prod; else gulp dev; fi

fs.js:35
} = primordials;
    ^

ReferenceError: primordials is not defined
    at fs.js:35:5
    at req_ (/home/luanfonsecap/Documentos/Projetos/projeto-instalura-ssr-conclusao/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/home/luanfonsecap/Documentos/Projetos/projeto-instalura-ssr-conclusao/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/home/luanfonsecap/Documentos/Projetos/projeto-instalura-ssr-conclusao/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
    at Function.Module._load (internal/modules/cjs/loader.js:901:14)
    at Module.require (internal/modules/cjs/loader.js:1044:19)
    at require (internal/modules/cjs/helpers.js:77:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! instalura-ssr@0.0.1 start: `if test "$NODE_ENV" = "production"; then npm run prod; else gulp dev; fi`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the instalura-ssr@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/luanfonsecap/.npm/_logs/2020-03-30T15_53_57_773Z-debug.log