Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install arangodep #1

Closed
jsteemann opened this issue Oct 15, 2012 · 2 comments
Closed

can't install arangodep #1

jsteemann opened this issue Oct 15, 2012 · 2 comments

Comments

@jsteemann
Copy link
Contributor

Running sudo npm install https://github.com/kaerus/arangodep -g fails with an error.
Here's the debug log:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   'https://github.com/kaerus/arangodep',
1 verbose cli   '-g' ]
2 info using npm@1.1.59
3 info using node@v0.8.8
4 verbose read json /usr/local/lib/package.json
5 verbose read json /usr/local/lib/package.json
6 verbose cache add [ 'https://github.com/kaerus/arangodep', null ]
7 silly cache add name=undefined spec="https://github.com/kaerus/arangodep" args=["https://github.com/kaerus/arangodep",null]
8 verbose parsed url { protocol: 'https:',
8 verbose parsed url   slashes: true,
8 verbose parsed url   host: 'github.com',
8 verbose parsed url   hostname: 'github.com',
8 verbose parsed url   href: 'https://github.com/kaerus/arangodep',
8 verbose parsed url   pathname: '/kaerus/arangodep',
8 verbose parsed url   path: '/kaerus/arangodep' }
9 silly lockFile 3671d24b-ttps-github-com-kaerus-arangodep https://github.com/kaerus/arangodep
10 verbose lock https://github.com/kaerus/arangodep /root/.npm/3671d24b-ttps-github-com-kaerus-arangodep.lock
11 verbose addRemoteTarball [ 'https://github.com/kaerus/arangodep', null ]
12 info retry fetch attempt 1 at 15:47:22
13 verbose fetch to= /root/tmp/npm-13122/1350308842271-0.5947079856414348/tmp.tgz
14 http GET https://github.com/kaerus/arangodep
15 http 200 https://github.com/kaerus/arangodep
16 verbose tar unpack /root/tmp/npm-13122/1350308842271-0.5947079856414348/tmp.tgz
17 silly lockFile 094829e8-42271-0-5947079856414348-package /root/tmp/npm-13122/1350308842271-0.5947079856414348/package
18 verbose lock /root/tmp/npm-13122/1350308842271-0.5947079856414348/package /root/.npm/094829e8-42271-0-5947079856414348-package.lock
19 silly gunzTarPerm modes [ '777', '666' ]
20 verbose read json /root/tmp/npm-13122/1350308842271-0.5947079856414348/package/package.json
21 error not a package /root/tmp/npm-13122/1350308842271-0.5947079856414348/tmp.tgz
22 silly lockFile 094829e8-42271-0-5947079856414348-package /root/tmp/npm-13122/1350308842271-0.5947079856414348/package
23 silly lockFile 3671d24b-ttps-github-com-kaerus-arangodep https://github.com/kaerus/arangodep
24 error Error: ENOENT, open '/root/tmp/npm-13122/1350308842271-0.5947079856414348/package/package.json'
25 error If you need help, you may report this log at:
25 error     <http://github.com/isaacs/npm/issues>
25 error or email it to:
25 error     <npm-@googlegroups.com>
26 error System Linux 2.6.37.6-0.11-desktop
27 error command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/kaerus/arangodep" "-g"
28 error cwd /home/triagens03/steemann
29 error node -v v0.8.8
30 error npm -v 1.1.59
31 error path /root/tmp/npm-13122/1350308842271-0.5947079856414348/package/package.json
32 error code ENOENT
33 error errno 34
34 verbose exit [ 34, true ]

The directory at location /root/tmp/npm-13122/1350308842271-0.5947079856414348/package/ does not have a file "package.json" in it, just "index.js".
The file /root/tmp/npm-13122/1350308842271-0.5947079856414348/tmp.tgz contains HTML only.

What am I doing wrong?

@kaerus
Copy link
Collaborator

kaerus commented Oct 15, 2012

sorry, there was a bug in the Readme, use git

sudo  npm install git://github.com/kaerus/arangodep -g

@jsteemann
Copy link
Contributor Author

That worked. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant