wellsjo/JSON-Splora

Can't globally install on Linux

Open

#43 opened on Dec 3, 2016

View on GitHub
 (6 comments) (0 reactions) (0 assignees)JavaScript (75 forks)batch import
help wanted

Repository metrics

Stars
 (1,858 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

So i wanted to install it globally, followed the simple, one step install method, but it failed. Output:

dzek@dzek-GP70 ~ $ sudo npm i -g JSON-Splora
[sudo] password for dzek: 
/usr/local/bin/jsplora -> /usr/local/lib/node_modules/JSON-Splora/bin/jsplora

> electron@1.4.10 postinstall /usr/local/lib/node_modules/JSON-Splora/node_modules/electron
> node install.js

/usr/local/lib/node_modules/JSON-Splora/node_modules/electron/install.js:22
  throw err
  ^

Error: EACCES: permission denied, link '/usr/local/lib/node_modules/JSON-Splora/node_modules/electron/electron-tmp-download-6809-1480782908724/electron-v1.4.10-linux-x64.zip' -> '/home/dzek/.electron/electron-v1.4.10-linux-x64.zip'
    at Error (native)
/usr/local/lib
└── (empty)

npm ERR! Linux 4.4.0-21-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "-g" "JSON-Splora"
npm ERR! node v6.8.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE

npm ERR! electron@1.4.10 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the electron@1.4.10 postinstall script 'node install.js'.
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 electron package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs electron
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls electron
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/dzek/npm-debug.log
npm ERR! code 1
dzek@dzek-GP70 ~ $ 

Contributor guide