wellsjo/JSON-Splora

Can't globally install on Linux

Open

#43 opened on 2016年12月3日

GitHub で見る
 (6 comments) (0 reactions) (0 assignees)JavaScript (1,858 stars) (75 forks)batch import
help wanted

説明

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 ~ $ 

コントリビューターガイド