Comments (10)
Dependencies are listed in dependencies
field from package.json
file and root access is not needed to install them.
By running wget -qO- https://raw.github.com/IonicaBizau/github-contributions/master/installer.sh | sh
the application is downloaded and installed (git clone
, npm install
etc) in the home directory (~/github-contributions
).
So, you shouldn't install deps manually.
Or did I miss anything?
from github-contributions.
I followed your README.md. The steps are:
- wget -qO- https://raw.github.com/IonicaBizau/github-contributions/master/installer.sh | sh
- cd ~/github-contributions
- node ~/github-contributions/server.js
And then it reports that I missed the packages......after I manually installed the missing packages(using "npm install statique", etc), and then it works. Did I miss anything?
from github-contributions.
Can you please delete ~/github-contributions
folder and run wget
command? Please post output here.
from github-contributions.
Note that I already use sudo
, but I still get Please try running this command again as root/Administrator.
. The details are listed as follows.
Welcome to Github contributions!
Making github-contributions directory in ~/
... entering ~/github-contributions
... downloading
--2014-07-30 15:01:15-- https://github.com/IonicaBizau/github-contributions/archive/master.zip
正在解析主机 github.com (github.com)... 192.30.252.128
正在连接 github.com (github.com)|192.30.252.128|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://codeload.github.com/IonicaBizau/github-contributions/zip/master [跟随至新的 URL]
--2014-07-30 15:01:16-- https://codeload.github.com/IonicaBizau/github-contributions/zip/master
正在解析主机 codeload.github.com (codeload.github.com)... 192.30.252.145
正在连接 codeload.github.com (codeload.github.com)|192.30.252.145|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 171027 (167K) [application/zip]
正在保存至: “master.zip”
100%[======================================>] 171,027 107KB/s 用时 1.6s
2014-07-30 15:01:19 (107 KB/s) - 已保存 “master.zip” [171027/171027])
... unzipping
Archive: master.zip
0b592996ef2231d1442300c8b920d0e1df6adb63
creating: github-contributions-master/
extracting: github-contributions-master/.gitignore
(............................)
inflating: github-contributions-master/samples/happy-2014.json
inflating: github-contributions-master/server.js
npm ERR! Error: EACCES, open '/home/jinwei/.npm/underscore/1.6.0/package/package.json'
npm ERR! { [Error: EACCES, open '/home/jinwei/.npm/underscore/1.6.0/package/package.json']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/home/jinwei/.npm/underscore/1.6.0/package/package.json',
npm ERR! parent: 'github-contributions' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/jinwei/github-contributions
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /home/jinwei/.npm/underscore/1.6.0/package/package.json
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, open '/home/jinwei/.npm/underscore/1.6.0/package/package.json'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/jinwei/github-contributions/npm-debug.log
npm ERR! not ok code 0
Sucessfully installed. Please type: cd ~/github-contributions
Bye!
from github-contributions.
I executed sudo wget -qO- https://raw.github.com/IonicaBizau/github-contributions/master/installer.sh | sh
from github-contributions.
It seems you have some issues related to rights in .npm
directory.
Please run this: sudo chown -R
(you don't have to replace whoami
** ~/.npmwhoami
because it's a command).
Then repeat the process from previous comment (delete github-contributions
and run wget
, without sudo
).
from github-contributions.
well, I ran sudo chown -R whoami** ~/.npm
, and I got zsh: no matches found: whoami**
. (I'm using zsh instead of bash on Ubuntu 14.04).
And if I change to bash, and ran sudo chown -R whoami** ~/.npm
, I got chown: 无效的用户: "whoami**"
. (The Chinese character means "invalid user" in English)
from github-contributions.
My bad, please run this instead:
sudo chown -R `whoami` ~/.npm
There are "`" characters that I don't know how to put them in inline code. 😄
from github-contributions.
Now, everything works perfectly! Thank you~:kissing_heart:
from github-contributions.
Cool! You're welcome! 😄
from github-contributions.
Related Issues (20)
- Implementing proportional contributions HOT 2
- Instructions to update or delete the commits HOT 2
- Average archiving time? HOT 2
- Special characters? HOT 3
- Suggestion: Single commit everyday HOT 2
- Failure to generate repo on Windows HOT 6
- Pain in the balls to install on Linux HOT 2
- Why? HOT 1
- Wrong word in index.html
- Error when run `npm start` on Local installation HOT 1
- Random contributions
- Time HOT 3
- Too large cost HOT 11
- Does it support mac OS? HOT 1
- Automatically generated each week to keep the texture HOT 1
- "Uncaught ReferenceError: $day is not defined" when cursor moves over a cell HOT 2
- Cannot read property 'date' of undefined
- Not an issue, just wanted to say thanks for making this fun tool! HOT 1
- Is possible to install it in a VPS and access through the web? (IP:9000)
- Is it still working? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-contributions.