简体   繁体   中英

Cannot install cordova ionic on npm

Anyone knows a way to fix this error?

C:\\WINDOWS\\system32>npm install -g cordova ionic

npm ERR! code E404

npm ERR! 404 Not Found: pinkie-promise@^2.0.0

npm ERR! A complete log of this run can be found in:

npm ERR! C:\\Users\\ASUS i5\\AppData\\Roaming\\npm-cache_logs\\2018-01-06T21_18_22_900Z-debug.log

You need to install pinkie-promise . Try this:

 $ npm install --save pinkie-promise@2.0.2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM