Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
526 views
in Technique[技术] by (71.8m points)

windows - unable to install cordova using node js

C:Usersadmin>npm install -g cordova


npm WARN engine [email protected]: wanted: {"node":">=0.6","npm":"1"} (current: {"node": "0.10.33","npm":"2.1.12"})
C:Program Files odejscordova -> C:Program Files odejs ode_modulescordova bincordova npm WARN unmet dependency C:Program Files odejs ode_modules pm ode_modules npm-package-arg requires semver@'4' but will load npm WARN unmet dependency C:Program Files odejs ode_modules pm ode_modules semver, npm WARN unmet dependency which is version 2.3.0
npm WARN unmet dependency C:Program Files odejs ode_modules pm ode_modules
read-installed ode_modules eaddir-scoped-modules requires graceful-fs@'^3.0.4' but will load
npm WARN unmet dependency C:Program Files odejs ode_modules pm ode_modules graceful-fs,
npm WARN unmet dependency which is version 3.0.2
[email protected] C:Program Files odejs ode_modulescordova
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected]
, [email protected], [email protected], [email protected], [email protected], [email protected], rc@0.
5.2, [email protected], [email protected], [email protected], [email protected], [email protected], glob@4
.0.6, [email protected], [email protected], [email protected], [email protected])

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

try to install graceful-fs:

npm install -g graceful-fs

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...