前端下载报错
版本:renren-fast 3.0 |
开发环境:hbuildx |
npm i 之后直接这样了,求解
code 1
npm ERR! path /Users/shenhongchun/Downloads/renren-fast-vue-master/node_modules/chromedriver
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! Downloading https://chromedriver.storage.googleapis.com/2.27/chromedriver_mac64.zip
npm ERR! Saving to /var/folders/5_/qv53tgrx4cz3_7bzy9bfsl100000gn/T/chromedriver/chromedriver_mac64.zip
npm ERR! Receiving...
npm ERR! Received 781K...
npm ERR! Received 1568K...
npm ERR! Received 2352K...
npm ERR! Received 3136K...
npm ERR! Received 3920K...
npm ERR! Received 4496K total.
npm ERR! Extracting zip contents
npm ERR! Copying to target path /Users/shenhongchun/Downloads/renren-fast-vue-master/node_modules/chromedriver/lib/chromedriver
npm ERR! node:events:368
npm ERR! throw er; // Unhandled 'error' event
npm ERR! ^
npm ERR!
npm ERR! Error: read ECONNRESET
npm ERR! at TLSWrap.onStreamRead (node:internal/stream_base_commons:220:20)
npm ERR! Emitted 'error' event on ClientRequest instance at:
npm ERR! at TLSSocket.socketErrorListener (node:_http_client:447:9)
npm ERR! at TLSSocket.emit (node:events:390:28)
npm ERR! at emitErrorNT (node:internal/streams/destroy:157:8)
npm ERR! at emitErrorCloseNT (node:internal/streams/destroy:122:3)
npm ERR! at processTicksAndRejections (node:internal/process/task_queues:83:21) {
npm ERR! errno: -54,
npm ERR! code: 'ECONNRESET',
npm ERR! syscall: 'read'
npm ERR! }
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/shenhongchun/.npm/_logs/2021-11-30T03_10_01_150Z-debug.log