Open qazip opened 6 years ago
Could you try solution mentioned in https://github.com/rhysd/NyaoVim/issues/127 ?
What solution? There is no solution in that issue. If you mean sudo npm i -g electron
, then no, it doesnt work:
/usr/bin/electron -> /usr/lib/node_modules/electron/cli.js
> electron@1.8.4 postinstall /usr/lib/node_modules/electron
> node install.js
/usr/lib/node_modules/electron/install.js:47
throw err
^
Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/electron/.electron'
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.
@qazip : I have same kind of problem , I have changed node js version to 6.9.3 , then install again, it works.
me, i have try this sudo npm install -g nyaovim --unsafe-perm=true --allow-root but it's still not work too
This is the output I get, when trying to install NyaoVim.