Giter VIP home page Giter VIP logo

Comments (10)

IonicaBizau avatar IonicaBizau commented on June 16, 2024

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.

clarkzjw avatar clarkzjw commented on June 16, 2024

I followed your README.md. The steps are:

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.

IonicaBizau avatar IonicaBizau commented on June 16, 2024

Can you please delete ~/github-contributions folder and run wget command? Please post output here.

from github-contributions.

clarkzjw avatar clarkzjw commented on June 16, 2024

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.

clarkzjw avatar clarkzjw commented on June 16, 2024

I executed sudo wget -qO- https://raw.github.com/IonicaBizau/github-contributions/master/installer.sh | sh

from github-contributions.

IonicaBizau avatar IonicaBizau commented on June 16, 2024

It seems you have some issues related to rights in .npm directory.
Please run this: sudo chown -R whoami** ~/.npm (you don't have to replace whoami because it's a command).

Then repeat the process from previous comment (delete github-contributions and run wget, without sudo).

from github-contributions.

clarkzjw avatar clarkzjw commented on June 16, 2024

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.

IonicaBizau avatar IonicaBizau commented on June 16, 2024

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.

clarkzjw avatar clarkzjw commented on June 16, 2024

Now, everything works perfectly! Thank you~:kissing_heart:

from github-contributions.

IonicaBizau avatar IonicaBizau commented on June 16, 2024

Cool! You're welcome! 😄

from github-contributions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.