ERROR: Failed to download Chromium r609904! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable t.
使用国内Chromium源
https://npm.taobao.org/mirrors
|
npm config set puppeteer_download_host=https://npm.taobao.org/mirrors
npm i puppeteer
作者:睡眠不足的瞌睡虫
链接:https://www.jianshu.com/p/d69b1d8bc2a6
來源:简书