Skip to content

Instantly share code, notes, and snippets.

@lyhcode
Created May 24, 2012 02:36
Show Gist options
  • Save lyhcode/2779112 to your computer and use it in GitHub Desktop.
Save lyhcode/2779112 to your computer and use it in GitHub Desktop.
npm install connect-mongodb (win32)
mongodb 0.9.7 dependency break the "npm install connect-mongodb" installation on win32 platform.
newer mongodb like 1.0.2 will fix this problem
thanks
npm ERR! error rolling back [email protected] Error: ENOTEMPTY, rmdir 'C:\project\node_modules\connect-mongodb'
npm ERR! Unsupported
npm ERR! Not compatible with your operating system or architecture: [email protected]
npm ERR! Valid OS: linux,darwin,freebsd
npm ERR! Valid Arch: any
npm ERR! Actual OS: win32
npm ERR! Actual Arch: ia32
npm ERR!
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"
npm ERR! cwd C:\project
npm ERR! node -v v0.6.18
npm ERR! npm -v 1.1.21
npm ERR! code EBADPLATFORM
npm ERR! message Unsupported
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\project\npm-debug.log
npm not ok
{
...
, "dependencies": {
, "connect-mongodb": "git://github.com/lyhcode/connect-mongodb.git"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment