C:\ Users \ admin> npm install -g cordova
npm WARN引擎npm@1.3.4:想要:{"节点":"> = 0.6"," npm":" 1"}(当前:{"节点":
#&34; 0.10.33"" NPM":" 2.1.12"})
C:\ Program Files \ nodejs \ cordova - > C:\ Program Files \ nodejs \ node_modules \ cordova \
BIN \科尔多瓦
npm WARN unmet依赖关系C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \
npm-package-arg需要semver @' 4'但会加载
npm WARN unmet依赖关系C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \
semver,
npm WARN未满足的依赖,即版本2.3.0
npm WARN未满足依赖关系C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \
read-installed \ node_modules \ readdir-scoped-modules需要graceful-fs @' ^ 3.0.4'
但会加载
npm WARN unmet依赖关系C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \
优雅-FS,
npm WARN unmet依赖,即版本3.0.2
cordova@4.1.2 C:\ Program Files \ nodejs \ node_modules \ cordova
├──slowcore@ 1.7.0
├──q@1.0.1
├──nopt@3.0.1(abbrev@1.0.5)
└──cordova-lib@ 4.1.2(osenv@0.1.0,properties-parser@0.2.3,bplist-parser @ 0.0.6
,mime @ 1.2.11,unorm @ 1.3.3,semver @ 2.0.11,shelljs @ 0.3.0,dep-graph @ 1.1.0,rc @ 0。
5.2,xcode@0.6.7,elementtree @ 0.1.5,d8 @ 0.4.4,npmconf @ 0.1.1,tar @ 1.0.2,glob @ 4
.0.6,request @ 2.47.0,plist @ 1.1.0,npm @ 1.3.4,cordova-js @ 3.7.2)
答案 0 :(得分:0)
尝试安装graceful-fs:
npm install -g graceful-fs