downloa专题

ERROR: Failed to set up Chromium r901912! Set “PUPPETEER_SKIP_DOWNLOAD“ env variable to skip downloa

报错原因 npm install puppeteer的时候报下面这个提示 ERROR: Failed to set up Chromium r901912! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.{ Error: read ETIMEDOUTat TLSWrap.onStreamRead (internal/s

puppeteer安装过程中出现:Set PUPPETEER_SKIP_CHROMIUM_DOWNLOA D env variable to skip download.

puppeteer在安装过程中会出现:Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOA D" env variable to skip download.解决方法很简单: 只需要执行: npm i puppeteer --ignore-scripts这个命令就可以了。