vuecli3 安装失败

Downloading @vue/cli to D:\develop\nodejs\node_global\node_modules@vue\cli_tmp
Copying D:\develop\nodejs\node_global\node_modules@vue\cli_tmp_@vue_cli@4.2.3@@vue\cli to D:\develop\nodejs\node_global\node_modules@vue\cli
Installing @vue/cli’s dependencies to D:\develop\nodejs\node_global\node_modules@vue\cli/node_modules
[1/32] deepmerge@^4.2.2 installed at node_modules_deepmerge@4.2.2@deepmerge
[2/32] commander@^2.20.0 installed at node_modules_commander@2.20.3@commander
[3/32] debug@^4.1.0 installed at node_modules_debug@4.1.1@debug
[4/32] @vue/cli-ui-addon-widgets@^4.2.3 installed at node_modules_@vue_cli-ui-addon-widgets@4.2.3@@vue\cli-ui-addon-widgets
[5/32] ejs@^2.7.1 installed at node_modules_ejs@2.7.4@ejs
[6/32] envinfo@^7.5.0 installed at node_modules_envinfo@7.5.0@envinfo
[7/32] @vue/cli-ui-addon-webpack@^4.2.3 installed at node_modules_@vue_cli-ui-addon-webpack@4.2.3@@vue\cli-ui-addon-webpack
[8/32] isbinaryfile@^4.0.0 installed at node_modules_isbinaryfile@4.0.4@isbinaryfile
[9/32] cmd-shim@^3.0.3 installed at node_modules_cmd-shim@3.0.3@cmd-shim
[10/32] javascript-stringify@^1.6.0 installed at node_modules_javascript-stringify@1.6.0@javascript-stringify
[11/32] boxen@^4.1.0 installed at node_modules_boxen@4.2.0@boxen
[12/32] import-global@^0.1.0 installed at node_modules_import-global@0.1.0@import-global
[13/32] fs-extra@^7.0.1 installed at node_modules_fs-extra@7.0.1@fs-extra
[14/32] leven@^3.1.0 installed at node_modules_leven@3.1.0@leven
[15/32] lru-cache@^5.1.1 existed at node_modules_lru-cache@5.1.1@lru-cache
[16/32] lodash.clonedeep@^4.5.0 installed at node_modules_lodash.clonedeep@4.5.0@lodash.clonedeep
[17/32] minimist@^1.2.0 installed at node_modules_minimist@1.2.5@minimist
[18/32] resolve@^1.15.0 existed at node_modules_resolve@1.15.1@resolve
[19/32] shortid@^2.2.15 installed at node_modules_shortid@2.2.15@shortid
[20/32] js-yaml@^3.13.1 installed at node_modules_js-yaml@3.13.1@js-yaml
[21/32] slash@^3.0.0 installed at node_modules_slash@3.0.0@slash
[22/32] recast@^0.18.1 installed at node_modules_recast@0.18.7@recast
[23/32] validate-npm-package-name@^3.0.0 installed at node_modules_validate-npm-package-name@3.0.0@validate-npm-package-name
[24/32] download-git-repo@^1.0.2 installed at node_modules_download-git-repo@1.1.0@download-git-repo
[25/32] globby@^9.2.0 installed at node_modules_globby@9.2.0@globby
[26/32] yaml-front-matter@^3.4.1 installed at node_modules_yaml-front-matter@3.4.1@yaml-front-matter
[rxjs@6.5.4] download ShasumNotMatchError: real sha1:52ef0bd405a8cbc8253d01d3371e195fa0984d50 not equal to remote:e0777fe0d184cec7872df147f303572d414e211c (rxjs@6.5.4), fail count: 1
[@vue/cli-ui@4.2.3] download ShasumNotMatchError: real sha1:bcd6ed31ca30f45ca7a86cfa368680bddea470b8 not equal to remote:8c201df3c1a4e3875a372b9b86febd727ccc2501 (@vue/cli-ui@4.2.3), fail count: 1
[27/32] vue@^2.6.11 installed at node_modules_vue@2.6.11@vue
[28/32] vue-jscodeshift-adapter@^2.0.2 installed at node_modules_vue-jscodeshift-adapter@2.0.3@vue-jscodeshift-adapter
[29/32] @vue/cli-shared-utils@^4.2.3 installed at node_modules_@vue_cli-shared-utils@4.2.3@@vue\cli-shared-utils
[30/32] jscodeshift@^0.7.0 installed at node_modules_jscodeshift@0.7.0@jscodeshift
[rxjs@6.5.4] download ShasumNotMatchError: real sha1:ffefea80e02e2ea1d05b06e8b95aaa6e96a76188 not equal to remote:e0777fe0d184cec7872df147f303572d414e211c (rxjs@6.5.4), fail count: 2
[core-js@3.6.4] download ShasumNotMatchError: real sha1:456b3182f4711f0d20da884ea140272ee254b947 not equal to remote:440a83536b458114b9cb2ac1580ba377dc470647 (core-js@3.6.4), fail count: 1
[rxjs@6.5.4] download ShasumNotMatchError: real sha1:33e9f24cfa24537c752f7dd84cfde91a4f2dd12b not equal to remote:e0777fe0d184cec7872df147f303572d414e211c (rxjs@6.5.4), fail count: 3
Install fail! ShasumNotMatchError: real sha1:33e9f24cfa24537c752f7dd84cfde91a4f2dd12b not equal to remote:e0777fe0d184cec7872df147f303572d414e211c (rxjs@6.5.4)
ShasumNotMatchError: real sha1:33e9f24cfa24537c752f7dd84cfde91a4f2dd12b not equal to remote:e0777fe0d184cec7872df147f303572d414e211c (rxjs@6.5.4)
at IncomingMessage. (D:\develop\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\download\npm.js:631:21)
at IncomingMessage.emit (events.js:323:22)
at endReadableNT (_stream_readable.js:1204:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
npminstall version: 3.27.0
npminstall args: D:\develop\nodejs\node.exe D:\develop\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\a8518231.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://r.npm.taobao.org -g @vue/cli

C:\Windows\system32>convert f:/FS:ntfs
驱动器 F: 已经变成 NTFS。

C:\Windows\system32>convert D:/FS:ntfs
驱动器 D: 已经变成 NTFS。

C:\Windows\system32>cnpm i -g @vue/cli
Downloading @vue/cli to D:\develop\nodejs\node_global\node_modules@vue\cli_tmp
Copying D:\develop\nodejs\node_global\node_modules@vue\cli_tmp_@vue_cli@4.2.3@@vue\cli to D:\develop\nodejs\node_global\node_modules@vue\cli
Installing @vue/cli’s dependencies to D:\develop\nodejs\node_global\node_modules@vue\cli/node_modules
[1/32] deepmerge@^4.2.2 installed at node_modules_deepmerge@4.2.2@deepmerge
[2/32] commander@^2.20.0 installed at node_modules_commander@2.20.3@commander
[3/32] @vue/cli-ui-addon-widgets@^4.2.3 installed at node_modules_@vue_cli-ui-addon-widgets@4.2.3@@vue\cli-ui-addon-widgets
[4/32] debug@^4.1.0 installed at node_modules_debug@4.1.1@debug
[5/32] ejs@^2.7.1 installed at node_modules_ejs@2.7.4@ejs
[6/32] envinfo@^7.5.0 installed at node_modules_envinfo@7.5.0@envinfo
[7/32] @vue/cli-ui-addon-webpack@^4.2.3 installed at node_modules_@vue_cli-ui-addon-webpack@4.2.3@@vue\cli-ui-addon-webpack
[8/32] cmd-shim@^3.0.3 installed at node_modules_cmd-shim@3.0.3@cmd-shim
[9/32] isbinaryfile@^4.0.0 installed at node_modules_isbinaryfile@4.0.4@isbinaryfile
[10/32] boxen@^4.1.0 installed at node_modules_boxen@4.2.0@boxen
[11/32] javascript-stringify@^1.6.0 installed at node_modules_javascript-stringify@1.6.0@javascript-stringify
[12/32] import-global@^0.1.0 installed at node_modules_import-global@0.1.0@import-global
[13/32] fs-extra@^7.0.1 installed at node_modules_fs-extra@7.0.1@fs-extra
[14/32] lru-cache@^5.1.1 existed at node_modules_lru-cache@5.1.1@lru-cache
[15/32] leven@^3.1.0 installed at node_modules_leven@3.1.0@leven
[16/32] lodash.clonedeep@^4.5.0 installed at node_modules_lodash.clonedeep@4.5.0@lodash.clonedeep
[17/32] minimist@^1.2.0 installed at node_modules_minimist@1.2.5@minimist
[18/32] resolve@^1.15.0 existed at node_modules_resolve@1.15.1@resolve
[19/32] shortid@^2.2.15 installed at node_modules_shortid@2.2.15@shortid
[20/32] slash@^3.0.0 installed at node_modules_slash@3.0.0@slash
[21/32] js-yaml@^3.13.1 installed at node_modules_js-yaml@3.13.1@js-yaml
[22/32] recast@^0.18.1 installed at node_modules_recast@0.18.7@recast
[23/32] validate-npm-package-name@^3.0.0 installed at node_modules_validate-npm-package-name@3.0.0@validate-npm-package-name
[24/32] download-git-repo@^1.0.2 installed at node_modules_download-git-repo@1.1.0@download-git-repo
[25/32] globby@^9.2.0 installed at node_modules_globby@9.2.0@globby
[26/32] yaml-front-matter@^3.4.1 installed at node_modules_yaml-front-matter@3.4.1@yaml-front-matter
[rxjs@6.5.4] download ShasumNotMatchError: real sha1:1c05ffaef77d2584cb9af4503defe4e1b4fac0e3 not equal to remote:e0777fe0d184cec7872df147f303572d414e211c (rxjs@6.5.4), fail count: 1
[urllib:warn] [Sat Mar 14 2020 15:18:01 GMT+0800 (GMT+08:00)] [480] [worker:9304] GET https://cdn.npm.taobao.org/lodash/-/lodash-4.17.15.tgz callback twice!!!
[urllib:warn] [Sat Mar 14 2020 15:18:01 GMT+0800 (GMT+08:00)] [480] [worker:9304] ResponseError: read ECONNRESET
stack: Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)
[lodash@4.17.15] download ShasumNotMatchError: real sha1:da146ef6a30fe246cee487367659669fdb7452c2 not equal to remote:b447f6670a0455bbfeedd11392eff330ea097548 (lodash@4.17.15), fail count: 1
[27/32] vue@^2.6.11 installed at node_modules_vue@2.6.11@vue
[lodash@4.17.15] download ShasumNotMatchError: real sha1:dd23a547a8f4f6619b5bf0336775ab4b384c8734 not equal to remote:b447f6670a0455bbfeedd11392eff330ea097548 (lodash@4.17.15), fail count: 2
[core-js@3.6.4] download ShasumNotMatchError: real sha1:10bb5e5d782956f02a14e6b5fcc4bc9214394a6c not equal to remote:440a83536b458114b9cb2ac1580ba377dc470647 (core-js@3.6.4), fail count: 1
[lodash@4.17.15] download ShasumNotMatchError: real sha1:d218302d831e231dbf8fba1dc3c8c0e21dc3218c not equal to remote:b447f6670a0455bbfeedd11392eff330ea097548 (lodash@4.17.15), fail count: 3
Install fail! ShasumNotMatchError: real sha1:d218302d831e231dbf8fba1dc3c8c0e21dc3218c not equal to remote:b447f6670a0455bbfeedd11392eff330ea097548 (lodash@4.17.15)
ShasumNotMatchError: real sha1:d218302d831e231dbf8fba1dc3c8c0e21dc3218c not equal to remote:b447f6670a0455bbfeedd11392eff330ea097548 (lodash@4.17.15)
at IncomingMessage. (D:\develop\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\download\npm.js:631:21)
at IncomingMessage.emit (events.js:323:22)
at endReadableNT (_stream_readable.js:1204:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
npminstall version: 3.27.0
npminstall args: D:\develop\nodejs\node.exe D:\develop\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\a8518231.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://r.npm.taobao.org -g @vue/cli

C:\Windows\system32>cnpm install webpack -g
Downloading webpack to D:\develop\nodejs\node_global\node_modules\webpack_tmp
Copying D:\develop\nodejs\node_global\node_modules\webpack_tmp_webpack@4.42.0@webpack to D:\develop\nodejs\node_global\node_modules\webpack
Installing webpack’s dependencies to D:\develop\nodejs\node_global\node_modules\webpack/node_modules
[1/23] chrome-trace-event@^1.0.2 installed at node_modules_chrome-trace-event@1.0.2@chrome-trace-event
[2/23] @webassemblyjs/helper-module-context@1.8.5 installed at node_modules_@webassemblyjs_helper-module-context@1.8.5@@webassemblyjs\helper-module-context
[3/23] eslint-scope@^4.0.3 installed at node_modules_eslint-scope@4.0.3@eslint-scope
[4/23] acorn@^6.2.1 installed at node_modules_acorn@6.4.1@acorn
[5/23] json-parse-better-errors@^1.0.2 installed at node_modules_json-parse-better-errors@1.0.2@json-parse-better-errors
[6/23] loader-runner@^2.4.0 installed at node_modules_loader-runner@2.4.0@loader-runner
[7/23] @webassemblyjs/wasm-edit@1.8.5 installed at node_modules_@webassemblyjs_wasm-edit@1.8.5@@webassemblyjs\wasm-edit
[8/23] @webassemblyjs/wasm-parser@1.8.5 installed at node_modules_@webassemblyjs_wasm-parser@1.8.5@@webassemblyjs\wasm-parser
[9/23] ajv-keywords@^3.4.1 installed at node_modules_ajv-keywords@3.4.1@ajv-keywords
[10/23] memory-fs@^0.4.1 installed at node_modules_memory-fs@0.4.1@memory-fs
[11/23] tapable@^1.1.3 existed at node_modules_tapable@1.1.3@tapable
[12/23] @webassemblyjs/ast@1.8.5 installed at node_modules_@webassemblyjs_ast@1.8.5@@webassemblyjs\ast
[13/23] enhanced-resolve@^4.1.0 installed at node_modules_enhanced-resolve@4.1.1@enhanced-resolve
[14/23] mkdirp@^0.5.1 installed at node_modules_mkdirp@0.5.1@mkdirp
[15/23] schema-utils@^1.0.0 installed at node_modules_schema-utils@1.0.0@schema-utils
[16/23] webpack-sources@^1.4.1 existed at node_modules_webpack-sources@1.4.3@webpack-sources
[17/23] loader-utils@^1.2.3 installed at node_modules_loader-utils@1.4.0@loader-utils
[18/23] neo-async@^2.6.1 installed at node_modules_neo-async@2.6.1@neo-async
[19/23] ajv@^6.10.2 installed at node_modules_ajv@6.12.0@ajv
[20/23] node-libs-browser@^2.2.1 installed at node_modules_node-libs-browser@2.2.1@node-libs-browser
[21/23] micromatch@^3.1.10 installed at node_modules_micromatch@3.1.10@micromatch
[22/23] terser-webpack-plugin@^1.4.3 installed at node_modules_terser-webpack-plugin@1.4.3@terser-webpack-plugin
platform unsupported watchpack@1.6.0 › chokidar@2.1.8 › fsevents@^1.2.7 Package require os(darwin) not compatible with your platform(win32)
[fsevents@^1.2.7] optional install error: Package require os(darwin) not compatible with your platform(win32)
[23/23] watchpack@^1.6.0 installed at node_modules_watchpack@1.6.0@watchpack
Recently updated (since 2020-03-07): 2 packages (detail see file D:\develop\nodejs\node_global\node_modules\webpack\node_modules.recently_updates.txt)
2020-03-13
→ loader-utils@1.4.0 › json5@1.0.1 › minimist@^1.2.0(1.2.5) (06:16:19)
2020-03-09
→ acorn@^6.2.1(6.4.1) (18:39:06)
All packages installed (295 packages installed from npm registry, used 1m(network 1m), speed 69.88kB/s, json 269(508.92kB), tarball 4.2MB)
[webpack@4.42.0] link D:\develop\nodejs\node_global\webpack@ -> D:\develop\nodejs\node_global\node_modules\webpack\bin\webpack.js

C:\Windows\system32>cnpm i -g @vue/cli
Downloading npminstall args: D:\develop\nodejs\node.exe D:\develop\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\a8518231.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://r.npm.taobao.org -g @vue/cli@TOC

报错就是

这是使用cnpm下载的 使用npm下载依然会报错 这是为什么呢

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值