Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Puppeteer old Headless deprecation warning #318

Open
nanmuye opened this issue Nov 16, 2023 · 4 comments
Open

Puppeteer old Headless deprecation warning #318

nanmuye opened this issue Nov 16, 2023 · 4 comments

Comments

@nanmuye
Copy link

nanmuye commented Nov 16, 2023

[MiaoYz][21:11:34.844][INFO] recv from: [Private: (friend)] 帮助
[MiaoYz][21:11:34.887][MARK] [喵喵:喵喵帮助][help][私聊][] 帮助
[MiaoYz][21:11:34.910][INFO] puppeteer Chromium 启动中...

Puppeteer old Headless deprecation warning:
In the near future headless: true will default to the new Headless mode
for Chrome instead of the old Headless implementation. For more
information, please see https://developer.chrome.com/articles/new-headless/.
Consider opting in early by passing headless: "new" to puppeteer.launch()
If you encounter any bugs, please report them to https://github.com/puppeteer/puppeteer/issues/new/choose.
报这个警告第一次会卡主,第二次再接受图片相关消息就会出现下面的
[MiaoYz][21:11:48.206][INFO] recv from: [Private: (friend)] 帮助
[MiaoYz][21:11:48.213][MARK] [喵喵:喵喵帮助][help][私聊][)] 帮助
[MiaoYz][21:11:48.247][MARK] [喵喵:喵喵帮助][help] 帮助 处理完成 33ms

然后无法生成图片 有关图片的回复都没收到消息 但是日志里有上面的发送记录

使用老云崽没问题 今天新拉的喵云崽出现这个问题

@hbj2457
Copy link
Contributor

hbj2457 commented Nov 17, 2023

puppeteer换21.1.1

@TheTychoStar
Copy link

问问具体怎么升级puppeteer?蹲个佬

@nanmuye
Copy link
Author

nanmuye commented Nov 18, 2023

puppeteer换21.1.1

这个版本也是发不出去 我改到了20.2.1才行

@nanmuye
Copy link
Author

nanmuye commented Nov 18, 2023

问问具体怎么升级puppeteer?蹲个佬

改package.json 后npm install / yarn 或者安装指定版本号 包名@版本号 不怎么用pnpm 指令可以搜搜看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants