LearnBoost/mongoose — Issue #628: Cannot install Mongoose on Windows
Author: alessioalex
Created: 2011-11-28 17:00:24+00:00
State: open

C:\Users\Alin\Desktop\node_test\general>npm install mongoose

> mongodb@0.9.6-23 install C:\Users\Alin\Desktop\node_test\general\node_modules\
mongoose\node_modules\mongodb
> bash ./install.sh

'bash' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! error installing mongodb@0.9.6-23 Error: mongodb@0.9.6-23 install: `bas
h ./install.sh`
npm ERR! error installing mongodb@0.9.6-23 `cmd "/c" "bash ./install.sh"` failed
with 1
npm ERR! error installing mongodb@0.9.6-23 at ChildProcess. (C:\P
rogram Files (x86)\nodejs\node_modules\npm\lib\utils\exec.js:49:20)
npm ERR! error installing mongodb@0.9.6-23 at ChildProcess.emit (events.js:7
0:17)
npm ERR! error installing mongodb@0.9.6-23 at maybeExit (child_process.js:35
9:16)
npm ERR! error installing mongodb@0.9.6-23 at Process.onexit (child_process.
js:395:5)
npm ERR! error installing mongoose@2.3.13 Error: mongodb@0.9.6-23 install: `bash
./install.sh`
npm ERR! error installing mongoose@2.3.13 `cmd "/c" "bash ./install.sh"` failed
with 1
npm ERR! error installing mongoose@2.3.13 at ChildProcess. (C:\Pr
ogram Files (x86)\nodejs\node_modules\npm\lib\utils\exec.js:49:20)
npm ERR! error installing mongoose@2.3.13 at ChildProcess.emit (events.js:70
:17)
npm ERR! error installing mongoose@2.3.13 at maybeExit (child_process.js:359
:16)
npm ERR! error installing mongoose@2.3.13 at Process.onexit (child_process.j
s:395:5)
npm ERR! mongodb@0.9.6-23 install: `bash ./install.sh`
npm ERR! `cmd "/c" "bash ./install.sh"` failed with 1
npm ERR!
npm ERR! Failed at the mongodb@0.9.6-23 install script.
npm ERR! This is most likely a problem with the mongodb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bash ./install.sh
npm ERR! You can get their info via:
npm ERR! npm owner ls mongodb
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "mongoose"
npm ERR! cwd C:\Users\Alin\Desktop\node_test\general
npm ERR! node -v v0.6.2
npm ERR! npm -v 1.1.0-alpha-2