-
Notifications
You must be signed in to change notification settings - Fork 2k
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 run npm or any Node Module on Cmder (Windows 7) #1047
Comments
For me, npm runs, but I'm specifically unable to npm install gulp. Running from the standard Windows cmd works just fine. |
Downloading the latest version of Cmder from the Github repo fixed it (both npm and gulp, I'm not sure if the last version fixed it or if it was because I reinstalled it) |
Editing
|
@bogacg You should not edit |
@daxgames Thanks for the heads up. I was aware that it wont get updated but didn't know better way.
Quick question: Does |
Just leave those files where they are and edit them. They also get run. I like to use profile.d others dont In userprofile.cmd: set path=%path%;c:\my_dir In userprofile.sh set $PATH=$PATH:c:\my_dir |
Thanks @daxgames that worked perfectly |
Thank you very much! You are totally right! I just add this 'path=%path%;D:\testing_tools\dev\nodejs' in the file 'userprofile.cmd'. Then I can use node in the cmder. Cool! |
I simply can't run "npm" or, for instance, "gulp" on my cmder. But I can run it if I manually open the cmd
If I run npm manually from the Nodejs directory, it works. So I added an alias with
alias npm=C:\Progra~1\nodejs\npm.cmd $*
and now npm works, but I guess that's not the best solution, since I can't run Node modules.What I've tried
I can run Ruby's gem or Python inside of cmder just fine, but Node just won't work specifically inside of Cmder (but will work on window's native cmd.exe)
The text was updated successfully, but these errors were encountered: