npm WARN nueva@1.0.0 No description
npm WARN nueva@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@1.8.4 postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@1.8.4 postinstall 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/gabriel/.npm/_logs/2018-04-14T13_22_51_277Z-debug.log
and for me this was the solution #sudo npm i -S nightmare --unsafe-perm=true --allow-root
this is how the error looks like
$sudo npm i -S nightmare
/home/gabriel/Documentos/practicas/nueva/node_modules/electron/install.js:47 throw err ^
Error: EACCES: permission denied, # mkdir '/home/gabriel/Documentos/practicas/nueva/node_modules/electron/dist'
npm WARN nueva@1.0.0 No description npm WARN nueva@1.0.0 No repository field.
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron@1.8.4 postinstall:
node install.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron@1.8.4 postinstall 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/gabriel/.npm/_logs/2018-04-14T13_22_51_277Z-debug.log
and for me this was the solution #sudo npm i -S nightmare --unsafe-perm=true --allow-root