isaacs/npm — Issue #1843: CLI commands like uglifyjs and lessc not working on Windows
Author: pvorb
Created: 2011-12-06 21:34:34+00:00
State: open

When I install node v0.6.5 with npm over the MSI, I am not able to run command-line interfaces of some packages like `uglify-js` (command `uglifyjs`) and `less` (command `lessc`).

For some reason, the directory `%HOME%\AppData\roaming\npm` doesn't show up when running `echo %PATH%` in CMD, although it definitely is there, when you look at the environment variables dialog. Maybe this is due to the permissions of Windows. I solved the issue by moving the directory from the system variables to the user variables.

![http://img6.imagebanana.com/img/t7omm9k7/path.png)

Could somebody confirm this issue? I am not sure, if this is an general problem or if there's something wrong in my system settings.