joyent/node — Issue #2377: Windows Installer sets incorrect Path to local npm module repository
Author: waynebloss
Created: 2011-12-19 19:25:53+00:00
State: open

After running the node-v0.6.6.msi on Windows 7 Ultimate, 32-bit my Path variable (System Environment Variables) ended with the following string (where `[...]` indicates the original Path before running the installer.):

[...];C:\Users\Wayne\AppData\Roaming\npm;C:\Program Files\nodejs\

**PROBLEM:** The letters "npm" are not followed by a trailing slash, which causes any path following it to break (e.g. the path to nodejs).

**WORKAROUND:** Add a trailing slash to the path and test out the path in a new command (terminal) window.

*(Instructions to manually change Path in Windows -* [here](http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx).)