不想做厨师的美食家不是个好程序员 2021-03-18 21:05 采纳率: 100%
浏览 4917
已采纳

vue-element-admin使用cnpm install命令行时出现问题,无法下载环境

Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。

尝试新的跨平台 PowerShell https://aka.ms/pscore6

PS F:\2down\zx-fore-1228> cnpm install
\ [20/54] Installing core-js-compat@^3.6.5[tui-editor@1.3.3 › squire-rte@github:sohee-lee7/Squire#b1e0e1031fa18912d233c204cbe7c7fae4a42621] install squire-rte from git github:sohee-lee7/Squire#b1e0e1031fa18912d233c204cbe7c7fae4a42621, may be very slow, please keep patience
| [23/54] Installing jest-resolve@^24.9.0platform unsupported @vue/cli-plugin-unit-jest@4.4.4 › babel-jest@24.9.0 › @jest/transform@24.9.0 › jest-haste-map@24.9.0 › fsevents@^1.2.7 Package require os(darwin) not compatible with your platform(win32)
\ [23/54] Installing urix@^0.1.0[fsevents@^1.2.7] optional install error: Package require os(darwin) not compatible with your platform(win32)
/ [23/54] Installing resolve-from@^3.0.0platform unsupported @vue/cli-plugin-babel@4.4.4 › webpack@4.46.0 › watchpack@1.7.5 › chokidar@3.5.1 › fsevents@~2.3.1 Package require os(darwin) not compatible with your platform(win32)
\ [23/54] Installing natural-compare@^1.4.0[fsevents@~2.3.1] optional install error: Package require os(darwin) not compatible with your platform(win32)
/ [23/54] Installing ssri@^7.0.0[tui-editor@1.3.3 › tui-chart@3.11.3 › raphael@git+https://github.com/nhn/raphael.git#2.2.0-c] install raphael from git git+https://github.com/nhn/raphael.git#2.2.0-c, may be very slow, please keep patience
/ [23/54] Installing webpack-bundle-analyzer@^3.8.0[npminstall:get] retry GET https://github.com/nhn/raphael/tarball/2.2.0-c after 100ms, retry left 4, error: Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27) {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read',
  name: 'ResponseError',
  data: undefined,
  path: '/nhn/raphael/tarball/2.2.0-c',
  status: -1,
  headers: {},
  res: [Object]
}, status: -1, headers: {},
stack: Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)
/ [23/54] Installing minipass@^3.0.0[npminstall:get] retry GET https://github.com/nhn/raphael/tarball/2.2.0-c after 200ms, retry left 3, error: Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27) {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read',
  name: 'ResponseError',
  data: undefined,
  path: '/nhn/raphael/tarball/2.2.0-c',
  status: -1,
  headers: {},
  res: [Object]
}, status: -1, headers: {},
stack: Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)
/ [23/54] Installing v8-compile-cache@^2.0.3[npminstall:get] retry GET https://github.com/nhn/raphael/tarball/2.2.0-c after 300ms, retry left 2, error: Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27) {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read',
  name: 'ResponseError',
  data: undefined,
  path: '/nhn/raphael/tarball/2.2.0-c',
  status: -1,
  headers: {},
  res: [Object]
}, status: -1, headers: {},
stack: Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)
- [23/54] Installing indent-string@^4.0.0[npminstall:get] retry GET https://github.com/nhn/raphael/tarball/2.2.0-c after 400ms, retry left 1, error: Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27) {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read',
  name: 'ResponseError',
  data: undefined,
  path: '/nhn/raphael/tarball/2.2.0-c',
  status: -1,
  headers: {},
  res: [Object]
}, status: -1, headers: {},
stack: Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)
\ [23/54] Installing exit-on-epipe@~1.0.1download tarball failed: read ECONNRESET, GET https://github.com/nhn/raphael/tarball/2.2.0-c -1 (connected: true, keepalive socket: false, agent status: {"createSocketCount":24,"createSocketErrorCount":0,"closeSocketCount":15,"errorSocketCount":0,"timeoutSocketCount":1,"requestCount":1030,"freeSockets":{"r.npm.taobao.org:443::::::::true::::::::::":7},"sockets":{"github.com:443::::::::true::::::::::":2},"requests":{}}, socketHandledRequests: 1, socketHandledResponses: 0)cketHandledRequests: 1, socketHandledResponses: 0)
headers: {}, try to clone repository now.
git clone https://github.com/nhn/raphael.git F:\2down\zx-fore-1228\node_modules\.tmp\eb28315b-8e99-40b4-b4eb-4fa885214be7
| [23/54] Installing exit-on-epipe@~1.0.1Cloning into 'F:\2down\zx-fore-1228\node_modules\.tmp\eb28315b-8e99-40b4-b4eb-4fa885214be7'...
\ [23/54] Installing vue-template-compiler@2.6.10fatal: unable to access 'https://github.com/nhn/raphael.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443                                                                                        fa885214be7" error, exit code 128
× Install fail! Error: [tui-editor@1.3.3 › tui-chart@3.11.3 › raphael@git+https://github.com/nhn/raphael.git#2.2.0-c] Run "C:\WINDOWS\system32\cmd.exe /d /s /c git clone https://github.com/nhn/raphael.git F:\2down\zx-fore-1228\node_modules\.tmp\eb28315b-8e99-40b4-b4eb-4or, exit code 128fa885214be7" error, exit code 128
Error: [tui-editor@1.3.3 › tui-chart@3.11.3 › raphael@git+https://github.com/nhn/raphael.git#2.2.0-c] Run "C:\WINDOWS\system32\cmd.exe /d /s /c git clone https://github.com/nhn/raphael.git F:\2down\zx-fore-1228\node_modules\.tmp\eb28315b-8e99-40b4-b4eb-4fa885214be7" error, exit code 128
    at module.exports (C:\Users\84894\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\lib\download\git.js:51:11)
    at module.exports.throw (<anonymous>)
    at onRejected (C:\Users\84894\AppData\Roaming\npm\node_modules\cnpm\node_modules\co\index.js:81:24)
    at runMicrotasks (<anonymous>)                                                                                                                                                                                                                                            bao.org
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
npminstall version: 3.28.0
npminstall args: D:\java\nodejs\node.exe C:\Users\84894\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\84894\.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://r.npm.taobao.org
PS F:\2down\zx-fore-1228>





















  • 写回答

3条回答 默认 最新

  • 关注

    最后经过测试可能是网络不稳定原因!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容
  • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题
  • ¥20 yolov5自定义Prune报错,如何解决?