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

引用

你可能感兴趣的:(linux 解决 npm 安装依赖时跳过下载 puppeteer)