Hello, I try to install it local by clone and run npm command
Local installation
$ git clone git@github.com:IonicaBizau/github-contributions.git
$ cd github-contributions
$ npm i
$ npm start
But after run sudo npm i. I run sudo npm start, it caught an error:
% sudo npm start !4020
> gh-contributions@2.0.0 start /media/hoangddt/Soft1/source/open-sources/github-contributions
> ./lib/server.js
sh: 1: ./lib/server.js: Permission denied
npm ERR! gh-contributions@2.0.0 start: `./lib/server.js`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the gh-contributions@2.0.0 start script.
npm ERR! This is most likely a problem with the gh-contributions package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./lib/server.js
npm ERR! You can get their info via:
npm ERR! npm owner ls gh-contributions
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.16.0-34-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! cwd /media/hoangddt/Soft1/source/open-sources/github-contributions
npm ERR! node -v v0.10.37
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /media/hoangddt/Soft1/source/open-sources/github-contributions/npm-debug.log
npm ERR! not ok code 0
Hmm... It looks the error is Permission denied–is the package installed on an USB stick or so? Make sure you have execution rights there. :four_leaf_clover:
Hello, I try to install it local by clone and run npm command
But after run
sudo npm i
. I runsudo npm start
, it caught an error:My OS is ubuntu 14.04.