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

Buffer is not defined #691

Open
ralebaskinson opened this issue May 8, 2024 · 3 comments
Open

Buffer is not defined #691

ralebaskinson opened this issue May 8, 2024 · 3 comments

Comments

@ralebaskinson
Copy link

Describe the bug
问题描述
Getting the error "Buffer is not defined" when trying to use ChatGPT Web. Looks related to 77a14e2, Buffer is available in nodejs but not in the browser.

Please complete the following information):
请补全以下内容

  • OS: [e.g. Windows] Mac
  • Browser: [e.g. chrome, safari] Firefox
  • Extension Version: [e.g. v2.0.2] 2.5.3
@josStorer
Copy link
Owner

Are you using firefox-without-katex-and-tiktoken.zip? In fact, buffer package has been added to ChatGPTBox, so the Buffer.from call is normal.

@ralebaskinson
Copy link
Author

Ah yes sorry I forgot to mention I built it myself and am using firefox-without-katex-and-tiktoken.zip, thanks for catching it

@josStorer
Copy link
Owner

With firefox.zip, it would work

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

2 participants