乐趣区

关于linux:linux-解决-npm-安装依赖时跳过下载-puppeteer

报错

ROR: Failed to download Chromium r722234! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
│ Error: read ECONNRESET
│     at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
│   -- ASYNC --

解决

export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=0 && npm i

援用

  • https://github.com/puppeteer/…
退出移动版