ProgramiCo
JavaScript Web Application Development
  • Home
  • SmartJs
    • Setting up the Environment
    • Running SmartJs
  • SmartJs Blog
  • About

NodeJs new version doesn't support standard nowjs or mongodb npm modules (on Windows)

11/7/2012

0 Comments

 
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:

  • 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.
0 Comments

    About the Author

    Picture
    Hugh Anderson is a web frontend developer in Tennessee who loves JavaScript and C#. 

    View my profile on LinkedIn

    Archives

    August 2015
    January 2013
    December 2012
    November 2012
    October 2012
    September 2012

    RSS Feed

Powered by Create your own unique website with customizable templates.