In node.js 0.6.x, require.paths removed. It has been deprecated since 0.2.x, if I recall. Therefore, the problem is not the absence of the NODE_PATH environment variable, but that the running package / application is not compatible with node 0.6.x. The usual solution would be to run this application in node.js 0.4.12. Unfortunately, there is no supported version 0.4.x for Windows. It is best to rewrite the application so that require.paths no longer used.
In addition: do not run the application, for example node.exe C:\Full\Path\Folder , because the working directory will be C:\ . So do something like:
C:\Full\Path\Folder> C:\node.js\bin\node.exe Folder.
source share