如何解决npm下载Puppeteer卡死的问题
亲测有效
export PUPPETEER_DOWNLOAD_BASE_URL=https://cdn.npmmirror.com/binaries/chrome-for-testing
npm install
https://github.com/cnpm/binary-mirror-config/pull/47https://github.com/cnpm/binary-mirror-config/pull/47
PS: 最开始看了下面这两个链接,试了有问题
Puppeteer国产镜像配置_puppeteer 镜像-CSDN博客
https://zhuanlan.zhihu.com/p/637107614