node.js :V12.22.12版本
npm: 6.14.10
[email protected] install C:\Users\gdl\Desktop\vue-electron-notes\node_modules\electron-chromedriver
node ./download-chromedriver.js
C:\Users\gdl\Desktop\vue-electron-notes\node_modules\electron-chromedriver\download-chromedriver.js:19
if (err != null) throw err
^
Error: Failed to find Electron v5.0.0 for win32-x64 at https://npm.taobao.org/mirrors/electron/{{ version }}/chromedriver-v5.0.0-win32-x64.zip
at Request. (C:\Users\gdl\Desktop\vue-electron-notes\node_modules\nugget\index.js:197:61)
at Request.emit (events.js:314:20)
at Request.onRequestResponse (C:\Users\gdl\Desktop\vue-electron-notes\node_modules\request\request.js:1059:10)
at ClientRequest.emit (events.js:314:20)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:601:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:122:17)
at TLSSocket.socketOnData (_http_client.js:474:22)
at TLSSocket.emit (events.js:314:20)
at addChunk (_stream_readable.js:297:12)
at readableAddChunk (_stream_readable.js:272:9)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\webpack-dev-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\watchpack-chokidar2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node ./download-chromedriver.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.