小编Ahm*_*ain的帖子

npm i puppeteer 无法设置 Chromium r756035

在尝试安装 puppeteer 时:npm i puppeteer收到此错误。我的 Node 版本是 v12.16.3。我在 Windows 机器上。

<!-- language: lang-none -->
ERROR: Failed to set up Chromium r756035! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
Error: Client network socket disconnected before secure TLS connection was established
    at connResetException (internal/errors.js:608:14)
    at TLSSocket.onConnectEnd (_tls_wrap.js:1514:19)
    at Object.onceWrapper (events.js:416:28)
    at TLSSocket.emit (events.js:322:22)
    at endReadableNT (_stream_readable.js:1187:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
  -- ASYNC --
    at BrowserFetcher.<anonymous> (C:\Users\Red Viper\AppData\Roaming\npm\node_modules\puppeteer\lib\helper.js:116:19)
    at fetchBinary (C:\Users\Red Viper\AppData\Roaming\npm\node_modules\puppeteer\install.js:148:8)
    at download (C:\Users\Red Viper\AppData\Roaming\npm\node_modules\puppeteer\install.js:54:9) {
  code: 'ECONNRESET',
  path: null,
  host: …
Run Code Online (Sandbox Code Playgroud)

windows chromium npm puppeteer

2
推荐指数
1
解决办法
4439
查看次数

标签 统计

chromium ×1

npm ×1

puppeteer ×1

windows ×1