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

Cannot read properties of null (reading 'enable') - when hardware acceleration is disabled #1391

Open
6 of 10 tasks
mj-life-is-once opened this issue Nov 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mj-life-is-once
Copy link

Please check that this issue hasn't been reported before.

  • I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

When opening localhost:3000 without turning on hardware acceleration, the page should give any warning or instructions to enable it to view the content correctly.

Current behaviour

The page just shows an error saying "Cannot read properties of null (reading 'enable')"

Screenshot 2023-11-20 at 16 59 48

Steps to reproduce

  1. (In Chrome), go to settings > search for hardware acceleration, and disable
Screenshot 2023-11-20 at 17 01 39
  1. Relaunch the page and try to access localhost:3000 after spinning up docker-compose.

Possible solution

A similar issue is open at cobe repo .

I would suggest adding some disclaimer to turn on hardware acceleration rather than showing an error message.

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Acknowledgements

  • My issue title is concise, descriptive, and in title casing.
  • I have searched the existing issues to make sure this bug has not been reported yet.
  • I am using the latest version of AgentGPT.
  • I have provided enough information for the maintainers to reproduce and diagnose the issue.
@mj-life-is-once mj-life-is-once added the bug Something isn't working label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant