Professor, estou tentando executar este comando sem sucesso. Agradeço qualquer ajuda.
/home/gustavo/Documents/alura/alurapic/node_modules/cross-env/dist/index.js:30
roc = (0, _crossSpawn.spawn)(command, commandArgs, { stdio: 'inherit', env });
^
SyntaxError: Unexpected token }
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/home/gustavo/Documents/alura/alurapic/node_modules/cross-env/dist/bin/cross-env.js:4:9)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
npm ERR! Linux 3.19.0-32-generic
npm ERR! argv "node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v0.10.25
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! alurapic@1.0.0 dev: `cross-env NODE_ENV=development webpack-dev-server --open --inline --hot`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the alurapic@1.0.0 dev script 'cross-env NODE_ENV=development webpack-dev-server --open --inline --hot'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the alurapic package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=development webpack-dev-server --open --inline --hot
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs alurapic
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls alurapic
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/gustavo/Documents/alura/alurapic/npm-debug.log