[英]ionic / cordova install error win10
i have installed nodejs 8 but getting these errors. 我已经安装了nodejs 8,但收到这些错误。 really stucked plz answer first
真的卡住了请先回答
C:\Users\Muna\Ionic>npm install -g cordova
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN不推荐使用node-uuid@1.4.8:改用uuid模块
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: validate-npm-package license@3.0.1 (node_modules\\cordova\\node_modules\\validate-npm-package-license):
npm警告可选的跳过选择性依赖性:validate-npm-package license@3.0.1(node_modules \\ cordova \\ node_modules \\ validate-npm-package-license):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime 'C:\\Users\\Muna\\AppData\\Roaming\\npm\\node_modules.staging\\validate-npm-package-license-daa56318\\LICENSE'
npm WARN enoent跳过可选依赖项:ENOENT:无此类文件或目录,utime'C:\\ Users \\ Muna \\ AppData \\ Roaming \\ npm \\ node_modules.staging \\ validate-npm-package-license-daa56318 \\ LICENSE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: cordova-js@4.2.1 (node_modules\\cordova\\node_modules\\cordova-js):
npm警告可选的跳过选择性依赖性:cordova-js@4.2.1(node_modules \\ cordova \\ node_modules \\ cordova-js):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime 'C:\\Users\\Muna\\AppData\\Roaming\\npm\\node_modules.staging\\cordova-js-4a835737\\test\\test.urlutil.js'
npm警告:跳过可选依赖项:enoent:无此类文件或目录,utime'C:\\ Users \\ Muna \\ AppData \\ Roaming \\ npm \\ node_modules.staging \\ cordova-js-4a835737 \\ test \\ test.urlutil.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: express@4.15.3 (node_modules\\cordova\\node_modules\\express):
npm警告可选的跳过选择性依赖性:express@4.15.3(node_modules \\ cordova \\ node_modules \\ express):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime 'C:\\Users\\Muna\\AppData\\Roaming\\npm\\node_modules.staging\\express-2ec03f1c\\History.md'
npm警告:跳过可选依赖项:enoent:无此类文件或目录,utime'C:\\ Users \\ Muna \\ AppData \\ Roaming \\ npm \\ node_modules.staging \\ express-2ec03f1c \\ History.md'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: plist@2.0.1 (node_modules\\cordova\\node_modules\\simple-plist\\node_modules\\plist):
npm警告可选的跳过选择性依赖性:plist@2.0.1(node_modules \\ cordova \\ node_modules \\ simple-plist \\ node_modules \\ plist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime 'C:\\Users\\Muna\\AppData\\Roaming\\npm\\node_modules.staging\\plist-7947d2c9\\dist\\plist-parse.js'
npm警告:跳过可选依赖项:enoent:无此类文件或目录,utime'C:\\ Users \\ Muna \\ AppData \\ Roaming \\ npm \\ node_modules.staging \\ plist-7947d2c9 \\ dist \\ plist-parse.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: plist@2.0.1 (node_modules\\cordova\\node_modules\\cordova-lib\\node_modules\\plist):
npm警告可选的跳过选择性依赖性:plist@2.0.1(node_modules \\ cordova \\ node_modules \\ cordova-lib \\ node_modules \\ plist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime 'C:\\Users\\Muna\\AppData\\Roaming\\npm\\node_modules.staging\\plist-dcf4d866\\dist\\plist.js'
npm警告:跳过可选依赖项:enoent:无此类文件或目录,utime'C:\\ Users \\ Muna \\ AppData \\ Roaming \\ npm \\ node_modules.staging \\ plist-dcf4d866 \\ dist \\ plist.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: shelljs@0.7.8 (node_modules\\cordova\\node_modules\\cordova-fetch\\node_modules\\shelljs):
npm警告可选的跳过选择性依赖:shelljs@0.7.8(node_modules \\ cordova \\ node_modules \\ cordova-fetch \\ node_modules \\ shelljs):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime 'C:\\Users\\Muna\\AppData\\Roaming\\npm\\node_modules.staging\\shelljs-0c2f6ee0\\CHANGELOG.md'
npm WARN enoent跳过可选依赖项:ENOENT:无此类文件或目录,utime'C:\\ Users \\ Muna \\ AppData \\ Roaming \\ npm \\ node_modules.staging \\ shelljs-0c2f6ee0 \\ CHANGELOG.md'
npm ERR!
npm ERR! code EINTEGRITY
代码完整性
npm ERR!
npm ERR! sha1-wDv04BywhtW15azorQr+eInWOMM= integrity checksum failed when using sha1: wanted sha1-wDv04BywhtW15azorQr+eInWOMM= but got sha1-19b+iGSs/lBl8/MlbaD2iJRtf/g=.
sha1-wDv04BywhtW15azorQr + eInWOMM =使用sha1时完整性校验和失败:想要sha1-wDv04BywhtW15azorQr + eInWOMM =,但是得到sha1-19b + iGSs / lBl8 / MlbaD2iJRtf / g =。 (2239 bytes)
(2239位元组)
npm ERR!
npm ERR! A complete log of this run can be found in:
可以在以下位置找到此运行的完整日志:
npm ERR!
npm ERR! C:\\Users\\Muna\\AppData\\Roaming\\npm-cache_logs\\2017-06-19T03_20_22_610Z-debug.log
C:\\ Users \\用户穆纳\\应用程序数据\\漫游\\ NPM-cache_logs \\ 2017-06-19T03_20_22_610Z-的debug.log
I got same error while installing another app, Two possible solutions I found after spending 5 hours. 我在安装另一个应用程序时遇到了相同的错误,花了5个小时后发现了两个可能的解决方案。 First one worked for me.
第一个为我工作。
npm install npm@4.6 -g
npm cache clean --force
or npm cache verify
npm cache clean --force
或npm cache verify
Hope it helps! 希望能帮助到你!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.