gencay / vscode-chatgpt

An unofficial Visual Studio Code - OpenAI ChatGPT integration
ISC License
3.5k stars 755 forks source link

Puppeteer not working for browser login #211

Closed wail-shudar closed 1 year ago

wail-shudar commented 1 year ago

Verify it's not a duplicate bug report

Verify troubleshooting guide is missing steps to solve this issue

Describe the Bug

Screenshot 2023-03-10 104720

Please tell us if you have customized any of the extension settings or whether you are using the defaults.

browser login opens to a blank page and I get the above error prompt.

Additional context

No response

ncesar commented 1 year ago

have you set your chromium browser path in the extension settings? @gencay I would like to suggest to use this extension to get chromium path automatically: https://www.npmjs.com/package/find-chrome-bin

I have used it in a scraping puppeteer project and it works flawlessly. This way we won't depend on the user to set his chrome path.

gencay commented 1 year ago

@wail-shudar thanks for reporting this. There is not a known issue at the moment. So I suspect this must be somewhat related to your machine setup. I'd recommend trying out different chromium based browsers (i.e. Edge, Brave etc.) You can find the executable paths from the version url i.e. edge://version and find it like this: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe

what are your customized settings and your operating system, VS Code version and details to help us understand the issue better?