mongoose npm install on windows 7 fail -
i try install mongoose on windows 64bit 7 using
npm install mongoose
but receive following error
c:\>npm install mongoose npm http https://registry.npmjs.org/mongoose npm http 304 https://registry.npmjs.org/mongoose npm http https://registry.npmjs.org/ms/0.1.0 npm http https://registry.npmjs.org/hooks/0.2.1 npm http https://registry.npmjs.org/mongodb/1.3.3 npm http https://registry.npmjs.org/mpromise/0.2.1 npm http https://registry.npmjs.org/muri/0.3.1 npm http https://registry.npmjs.org/sliced/0.0.3 npm http https://registry.npmjs.org/mpath/0.1.1 npm http 304 https://registry.npmjs.org/mpromise/0.2.1 npm http 304 https://registry.npmjs.org/ms/0.1.0 npm http 304 https://registry.npmjs.org/hooks/0.2.1 npm http 304 https://registry.npmjs.org/muri/0.3.1 npm http 304 https://registry.npmjs.org/mongodb/1.3.3 npm http 304 https://registry.npmjs.org/sliced/0.0.3 npm http 304 https://registry.npmjs.org/mpath/0.1.1 npm http https://registry.npmjs.org/sliced/0.0.4 npm http https://registry.npmjs.org/bson/0.1.8 npm http https://registry.npmjs.org/kerberos npm http 304 https://registry.npmjs.org/sliced/0.0.4 npm http 304 https://registry.npmjs.org/kerberos npm http 304 https://registry.npmjs.org/bson/0.1.8 > kerberos@0.0.2 install c:\node_modules\mongoose\node_modules\mongodb\node_modules\kerberos > (node-gyp rebuild 2> builderror.log) || (exit 0) npm warn optional dep failed, continuing kerberos@0.0.2 > bson@0.1.8 install c:\node_modules\mongoose\node_modules\mongodb\node_modules\bson > (node-gyp rebuild 2> builderror.log) || (exit 0) npm err! bson@0.1.8 install: `(node-gyp rebuild 2> builderror.log) || (exit 0)` npm err! spawn enoent npm err! npm err! failed @ bson@0.1.8 install script. npm err! problem bson package, npm err! not npm itself. npm err! tell author fails on system: npm err! (node-gyp rebuild 2> builderror.log) || (exit 0) npm err! can info via: npm err! npm owner ls bson npm err! there additional logging output above. npm err! system windows_nt 6.1.7601 npm err! command "c:\\program files\\nodejs\\\\node.exe" "c:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "mongoose" npm err! cwd c:\ npm err! node -v v0.10.5 npm err! npm -v 1.2.18 npm err! syscall spawn npm err! code elifecycle npm err! errno enoent npm err! npm err! additional logging details can found in: npm err! c:\npm-debug.log npm err! not ok code 0 c:\>
i had same problem when trying install mongoose. updating node latest version ( 0.10.7) , installing mongoose again fixed problem.
Comments
Post a Comment