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

45次阅读

共计 279 个字符,预计需要花费 1 分钟才能阅读完成。

报错

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/…

正文完
 0