|
系统win7,安装了java sdk 、Android SDK、eclipse、Node.js
以管理员身份运行命令行 输入
c:\> npm install -g phonegap
多个包出现如下信息:
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/tar
npm http 304 https://registry.npmjs.org/open/0.0.3
npm http 304 https://registry.npmjs.org/ncallbacks/1.0.0
npm http 304 https://registry.npmjs.org/npm
npm http 304 https://registry.npmjs.org/request/2.22.0
npm http 304 https://registry.npmjs.org/plist
npm http 304 https://registry.npmjs.org/ripple-emulator/0.9.18
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/jshint
npm http 304 https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/lodash
npm WARN engine ncallbacks@1.0.0: wanted: {"node":"~0.6.7"} (current: {"node":"v
0.10.24","npm":"1.3.21"})
(由于帖子限制...中间省略一大段)
npm http 200 https://registry.npmjs.org/keypress/-/keypress-0.1.0.tgz
npm http 200 https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz
C:\Users\Karas.syu\AppData\Roaming\npm\phonegap -> C:\Users\Karas.syu\AppData\Ro
aming\npm\node_modules\phonegap\bin\phonegap.js
phonegap@3.3.0-0.18.0 C:\Users\Karas.syu\AppData\Roaming\npm\node_modules\phoneg
ap
├── pluralize@0.0.4
├── colors@0.6.0-1
├── semver@1.1.0
├── qrcode-terminal@0.9.4
├── shelljs@0.1.4
├── optimist@0.6.0 (wordwrap@0.0.2, minimist@0.0.5)
├── phonegap-soundwave@0.1.0 (node-static@0.7.0)
├── phonegap-build@0.8.4 (qrcode-terminal@0.8.0, optimist@0.3.7, shelljs@0.0.
9, phonegap-build-api@0.3.3)
├── prompt@0.2.11 (revalidator@0.1.6, pkginfo@0.3.0, read@1.0.5, utile@0.2.1,
winston@0.6.2)
└── cordova@3.3.0-0.1.1 (ncallbacks@1.0.0, open@0.0.3, colors@0.6.2, mime@1.2
.11, q@0.9.7, shelljs@0.1.2, lodash@2.4.1, follow-redirects@0.0.3, xcode@0.6.2,
glob@3.2.7, tar@0.1.19, elementtree@0.1.5, npm@1.3.22, plist@0.4.3, jshint@1.1.0
, express@3.0.0, prompt@0.2.7, ripple-emulator@0.9.18, plugman@0.17.0, request@2
.22.0)
c:\>
Phonegap 无法安装!
求大神解决!!
|
|