-
Notifications
You must be signed in to change notification settings - Fork 74
当我执行npm run start时报错 #19
Description
日志信息如下:
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)
排查过程:我以为是代理问题,增加配置后仍是此报错