国内node安装puppeteer失败的解决方案

in 前端 with 0 comment

安装目录下如果有.npmrc 文件的话。增加如下配置。没有的话新建一个。

PUPPETEER_DOWNLOAD_BASE_URL = https://cdn.npmmirror.com/binaries/chrome-for-testing
Comments are closed.