I have nodejs running with mongodb database and i'm trying to install the javascript driver mongodb-native.. When i try "npm install -g mongodb --mongodb:native"
I tried installing the same configuration on a Windows 7 machine and it works just fine. Any idea why it is not working with Windows server 2008 ?
here is the output i get from the npm install command:
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/bson/0.1.5
npm http GET https://registry.npmjs.org/bson/0.1.5
npm http GET https://registry.npmjs.org/bson/0.1.5
> bson@0.1.5 install C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\no
de_modules\bson
> node install.js || (exit 0)
================================================================================
= =
= Attempting to build bson c++ extension =
= Windows: no build will be attempted as binaries are prepackaged =
= Unix: on failure the package will still install without the C++ extension =
= =
================================================================================
mongodb@1.1.11 C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb
└── bson@0.1.5
C:\Users\xxx>npm ls
C:\Users\xxx
└── (empty)
I can confirm that the driver has only been tested on Windows 7, not W2K8 so it's not a surprise that it's not working.
It would be greatly appreciated if you could upload the debug information to the Node MongoDB Google Group for further analysis and testing. The issue can be tracked better there.