Cannot read properties of null (reading 'enable') - when hardware acceleration is disabled
Author: mj-life-is-onceCreated Nov 20, 2023Updated Mar 15, 2025
Labelsbug
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')"
Steps to reproduce
- (In Chrome), go to settings > search for
hardware acceleration, and disable
- Relaunch the page and try to access
localhost:3000after 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.
Source: reworkd/AgentGPT