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

hiredis install error with npm 1.0.1rc9 #37

Closed
heroic opened this issue Apr 23, 2011 · 2 comments
Closed

hiredis install error with npm 1.0.1rc9 #37

heroic opened this issue Apr 23, 2011 · 2 comments

Comments

@heroic
Copy link

heroic commented Apr 23, 2011

I get this error when i install hiredis

hiredis@0.1.9 preinstall /root/node-v0.4.7/node_modules/hiredis
node-waf configure build

Traceback (most recent call last):
File "/usr/local/bin/node-waf", line 16, in
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
prepare_impl(t, cwd, ver, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 35, in prepare_impl
lst = os.listdir(cwd)
OSError: [Errno 13] Permission denied: '/root/node-v0.4.7/node_modules/hiredis'
npm ERR! error installing hiredis@0.1.9 Error: hiredis@0.1.9 preinstall: node-waf configure build
npm ERR! error installing hiredis@0.1.9 sh "-c" "node-waf configure build" failed with 1
npm ERR! error installing hiredis@0.1.9 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing hiredis@0.1.9 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing hiredis@0.1.9 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! hiredis@0.1.9 preinstall: node-waf configure build
npm ERR! sh "-c" "node-waf configure build" failed with 1
npm ERR!
npm ERR! Failed at the hiredis@0.1.9 preinstall script.
npm ERR! This is most likely a problem with the hiredis package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls hiredis
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.18-194.26.1.el5.028stab079.2
npm ERR! command "node" "/usr/local/bin/npm" "install" "hiredis"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/node-v0.4.7/npm-debug.log
npm not ok

@pietern
Copy link
Contributor

pietern commented Apr 23, 2011

The path you're using is /root. Does the user running npm have the permission to write there?

@heroic heroic closed this as completed Apr 23, 2011
@pietern
Copy link
Contributor

pietern commented Apr 23, 2011

On another note, the repository for the Node module is located here: https://github.com/pietern/hiredis-node . Please submit future issues there.

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

2 participants