This repository has been archived by the owner on Nov 26, 2021. It is now read-only.
Releases: luolongfei/pusher
Releases · luolongfei/pusher
chrome无头浏览器文件储存
由于github限制单个文件大小为100MB,而谷歌无头浏览器linux版本文件为228.63MB,远超过github限制,故上传到此处,在部署时应该将此处的chrome文件移至如下位置:
app/Nodejs/node_modules/puppeteer/.local-chromium/linux-706915/chrome-linux/chrome
可以把此文件下载后放到对应的目录,也可以直接在app/Nodejs/目录下执行:
$ yarn remove puppeteer
然后再执行:
$ yarn add puppeteer
相当于重新安装了puppeteer,安装时会自动下载谷歌无头浏览器。