I noticed that the default version of NodeJs to download off their site is like version 0.8.14 right now. This unfortunately does have some issues with some npm nodules that are relevant to SmartJs.
Try using an older version of NodeJs, like version 0.6.19 or so, and it should work fine with npm modules now and mongodb. When I run with the new version I get errors like:
In order to get these npm modules fully working, you also need to make sure you are using the 32 bit version of NodeJs, even if you are running on a 64 bit system.
I would like to hear from anybody in the Comments, if you are successfully running these npm modules in a newer version of NodeJs, or on 64 bit NodeJs, specifically on Windows.
Try using an older version of NodeJs, like version 0.6.19 or so, and it should work fine with npm modules now and mongodb. When I run with the new version I get errors like:
- The specified procedure could not be found
- native module is not a valid Win32 application
- Error: cannot find module 'xxx'
- no build will be attempted as binaries are prepackaged
In order to get these npm modules fully working, you also need to make sure you are using the 32 bit version of NodeJs, even if you are running on a 64 bit system.
I would like to hear from anybody in the Comments, if you are successfully running these npm modules in a newer version of NodeJs, or on 64 bit NodeJs, specifically on Windows.