-
Notifications
You must be signed in to change notification settings - Fork 4
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
Installation not working on Ubuntu 12.04 #8
Comments
+1 |
I have the same issue on debian 6.
Here is my log file : $grep error /home/victor/npm-debug.log1295 error error rolling back Error: ENOTEMPTY, rmdir '/usr/local/lib/node_modules/sm/node_modules/sourcemint-pm-sm/node_modules/sourcemint-pm-tar/node_modules/tar' |
same here |
This looks like an issue with the way NPM installs binaries onto the PATH. I'll have to revisit that and not use NPM to put |
+1 |
when is this going to be fixed? |
It appears not to be as much an issue with npm, but with Node itself, After some checking, I decided to not use a pre-compiled version, but to try and compile it myself. This is working fine right now, However, I would consider not using a pre-compiled one if you can spare the time to build one yourself. |
+1 Can't run sm from command line after installing |
+1 ubuntu i386 12.04, npm 1.1.24, node v0.6.19 |
@itguy51 Is correct...it's a problem with the precompiled apt packages. Follow the node Ubuntu install instructions on nodejs.org and add the 'unofficial' repository, and reinstall. |
I try install on Ubuantu 10.04 server, very well. 2012/10/7 Nick Daugherty [email protected]
|
Following the suggestion by @nickdaugherty - Use the http://apptob.org/ tool to simplify installation. |
I have the same issue running Ubuntu on Amazon EC2. |
"sm" is a different tool on Ubuntu. Plus, I don't see why I should have to install SM (or any other node.js app/package) as root - I don't want it muddying my OS thank you very much. npm install works for other packages, why not sm? |
@whodafly Hmm, I did a search on The current install tries to put the |
@:~$ apt-cache show sm |
I'm running Ubuntu (well, Kubuntu) 12.10. |
@whodafly Ah, of course. I heard of that feature in the past. I still want to call the sourcemint command-line tool So, say you want to use sourcemint and install it under a different command. Would you just do What would you call it? |
I'm primarily a Python developer, and I use virtualenv a lot, so being able to "install" something locally into a directory works perfectly well for me. If I'm deploying something to a production server, I don't necessarily want to install it as root either. So, as long as I can type "./sm" I'm perfectly happy. I'm also happy with "./sourcemint" as I would just tab-complete it anyway :-) |
Since 0.3 is taking longer than I had hoped I have made a hotfix to try and resolve this issue. Please try Please let me know if this resolves your issue for now. |
I am trying to install this package, but it does not work under Ubuntu 12.04, as it never installs the binary via NPM. I will type 'npm install -g sm', and it throws a bunch of access errors, while a 'sudo npm install -g sm' works fine, however, when typing 'sm -h' into the console, I get 'The program 'sm' is currently not installed. You can install it by typing: sudo apt-get install sm', which is not the proper application.
The text was updated successfully, but these errors were encountered: