This repository has been archived by the owner on Aug 15, 2023. It is now read-only.
-
我今天把 bot 扔到树莓派上了,
但是
现在就是很茫然 |
Beta Was this translation helpful? Give feedback.
Answered by
Arondight
Dec 27, 2021
Replies: 2 comments 5 replies
-
直接使用系统自带的 chromium,包名和路径见 #465 添加以下代码到对应用户的
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Arondight
-
解决了,但不知道有没有更正常一点的方式 puppeteer/puppeteer#4249 (comment) 我是装了一个
然后改了 browser = await puppeteer.launch({
executablePath: 'chromium-browser',
defaultViewport: null,
headless: 0 === global.config.viewDebug,
args: ["--no-sandbox", "--disable-setuid-sandbox"],
}); |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
直接使用系统自带的 chromium,包名和路径见 #465
添加以下代码到对应用户的
~/.bashrc
,或者添加到/etc/profile.d/
下作为全用户通用的配置。