node.jsgulpcmder

Can't run npm or any Node Module on Cmder (Windows 7)


I simply can't run "npm" or, for instance, "gulp" in my cmder. But I can run it if I manually open the cmd

λ gulp
'gulp' is not recognized as an internal or external command,
operable program or batch file.

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)


Solution

  • Fixed

    Download the lastest version of Cmder through the github repo https://github.com/cmderdev/ instead of downloading it from the website.