Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

当我执行npm run start时报错 #19

Open
bainningking opened this issue Feb 15, 2023 · 0 comments
Open

当我执行npm run start时报错 #19

bainningking opened this issue Feb 15, 2023 · 0 comments

Comments

@bainningking
Copy link

日志信息如下:
Starting chatgpt with config: {
"email": "[email protected]",
"password": "xxxxx",
"sessionToken": "",
"reverseProxyUrl": "https://chat.y1s1.host/completions",
"isProAccount": false,
"markdown": false,
"debug": false,
"isGoogleLogin": false,
"isMicrosoftLogin": false,
"minimize": false,
"proxyServer": "http://127.0.0.1:7890"
}
Starting chatgpt failed, retrying...
Error: Failed to launch the browser process!
[1471:1490:0215/023119.348070:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[1471:1471:0215/023119.358143:ERROR:ozone_platform_x11.cc(238)] Missing X server or $DISPLAY
[1471:1471:0215/023119.358186:ERROR:env.cc(255)] The platform failed to initialize. Exiting.

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

at onClose (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:299:20)
at ChildProcess.<anonymous> (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:290:24)
at ChildProcess.emit (node:events:524:35)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)

排查过程:我以为是代理问题,增加配置后仍是此报错

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

No branches or pull requests

1 participant