2012-07-26 108 views
0

我想在Windows中安装Mojito。我在Windows中有MinGW和nodejs。但我无法使用npm install -g mojito安装Mojito。它详细介绍了在Windows在窗口中安装Mojito

npm WARN package.json [email protected] No README.md file found! 
npm WARN engine [email protected]: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"0.8.3","npm":"1.1.43"}) 
npm WARN engine [email protected]: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"0.8.3","npm":"1.1.43"}) 
npm ERR! error rolling back errno: 53, 
npm ERR! error rolling back code: 'ENOTEMPTY', 
npm ERR! notsup Unsupported 
npm ERR! notsup Not compatible with your operating system or architecture: [email protected] 
npm ERR! notsup Valid OS: darwin,linux 
npm ERR! notsup Valid Arch: any 
npm ERR! notsup Actual OS: win32 
npm ERR! notsup Actual Arch: ia32 

npm ERR! System Windows_NT 6.1.7601 
npm ERR! code EBADPLATFORM 
npm ERR! stack Error: Unsupported 
npm ERR! stack  at checkPlatform (c:\Program Files (x86)\nodejs\node_modules\npm\lib\install.js:747:14) 
npm ERR! stack  at Array.1 (c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\slide\lib\bind-actor.js:15:8) 
npm ERR! stack  at LOOP (c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\slide\lib\chain.js:15:14) 
npm ERR! stack  at c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\slide\lib\chain.js:18:7 
npm ERR! stack  at checkEngine (c:\Program Files (x86)\nodejs\node_modules\npm\lib\install.js:726:10) 
npm ERR! stack  at Array.0 (c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\slide\lib\bind-actor.js:15:8) 
npm ERR! stack  at LOOP (c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\slide\lib\chain.js:15:14) 
npm ERR! stack  at chain (c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\slide\lib\chain.js:20:5) 
npm ERR! stack  at installOne_ (c:\Program Files (x86)\nodejs\node_modules\npm\lib\install.js:692:3) 
npm ERR! stack  at installOne (c:\Program Files (x86)\nodejs\node_modules\npm\lib\install.js:615:3) 
npm http GET https://registry.npmjs.org/mkdirp/0.0.7 

安装在雅虎开发者Website可以清楚地提到,基于Unix的系统是一个先决条件,但有可能通过使用Cygwin的MinGW的或在Windows上安装了以下错误。

回答