在窗口中安装Mojito

Installing Mojito in windows

本文关键字:Mojito 安装 窗口      更新时间:2024-02-23

我想在Windows中安装Mojito。我在Windows中有MinGW和nodejs。但我无法使用npm install -g mojito安装Mojito。在windows 中安装时出现以下错误

npm WARN package.json connect@1.8.2 No README.md file found!
npm WARN engine connect@1.8.2: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"0.8.3","npm":"1.1.43"})
npm WARN engine express@2.5.2: 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: yui3@0.7.12
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

在雅虎开发者网站上,有人明确提到基于Unix的系统是一个先决条件,但是否可以使用cygwin或mingw在windows上安装它。

这是一个悬而未决的问题,很抱歉。将您自己添加到https://github.com/yahoo/mojito/issues/264跟踪我们的进展。