You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at onClose (/root/kg/node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:241:20)
at ChildProcess.<anonymous> (/root/kg/node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:232:79)
at ChildProcess.emit (node:events:536:35)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)
The text was updated successfully, but these errors were encountered:
执行命令
pnpm init
pnpm install @karinjs/puppeteer
node .
日志
[Karin-puppeteer][10:57:31.577][MARK] @karinjs/puppeteer 正在启动中...
[Karin-puppeteer][10:57:31.580][INFO] 当前版本:1.6.0
[Karin-puppeteer][10:57:31.581][INFO] https://github.com/KarinJS/puppeteer
[chrome] /root/.cache/puppeteer/chrome/linux64-131.0.6778.87/chrome-linux64/chrome
[Karin-puppeteer][10:57:37.124][ERRO] unhandledRejection Error: Failed to launch the browser process!
[333540:333540:0114/105736.890449:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY
[333540:333540:0114/105736.914806:ERROR:env.cc(257)] The platform failed to initialize. Exiting.
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
The text was updated successfully, but these errors were encountered: