-
Notifications
You must be signed in to change notification settings - Fork 2
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
issue installing by normal mean #6
Comments
thanks for report, will investigate. |
a more useful output camilo@localhost:~/Dropbox/Development/foo/bar> npm install linter
cd ./deps/closure-linter && python ./setup.py install Installed /Library/Python/2.6/site-packages/closure_linter-2.2.7-py2.6.egg |
btw, sudo easy_install http://closure-linter.googlecode.com/files/closure_linter-latest.tar.gz worked fine for me. |
There is no need to install closure linter globally. Just use it from the deps directory. At least it works for me. Doing npm install -f linter (so that npm doesn't remove the package after failing) works just fine |
npm install linter
[email protected] ./node_modules/linter/node_modules/argsparser
[email protected] ./node_modules/linter/node_modules/sharedjs/node_modules/uglify-js
[email protected] ./node_modules/linter/node_modules/sharedjs
cd ./deps/closure-linter && python ./setup.py install
running install
install_dir /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
http://packages.python.org/distribute/easy_install.html
Please make the appropriate changes for your system and try again.
make: *** [install] Error 1
npm ERR! error installing [email protected] Error: [email protected] install:
make install
npm ERR! error installing [email protected]
sh "-c" "make install"
failed with 2npm ERR! error installing [email protected] at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:67:17)
npm ERR! error installing [email protected] at ChildProcess.onexit (child_process.js:192:12)
npm ERR! [email protected] install:
make install
npm ERR!
sh "-c" "make install"
failed with 2npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the linter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make install
npm ERR! You can get their info via:
npm ERR! npm owner ls linter
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 10.7.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "linter"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/camilo/Dropbox/Development/foo/bar/npm-debug.log
npm not ok
The text was updated successfully, but these errors were encountered: