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

Demo examples throw exception (SharedArrayBuffer) #80

Open
thelazyone opened this issue Jul 20, 2023 · 1 comment
Open

Demo examples throw exception (SharedArrayBuffer) #80

thelazyone opened this issue Jul 20, 2023 · 1 comment

Comments

@thelazyone
Copy link

The four linked examples in the readme.md seem to be faulty on my machine (Windows, both on Chrome and Firefox), all prompting to "see JavaScript console".

The console has this message (shown in Firefox):
image

I encountered the same problem when deploying without the -c option myself. Adding the -c solved it for me.

@alexjgriffith
Copy link

SharedArrayBuffers have been disabled by default in more recent versions of all major browsers. They can be enabled in the HTTP header. For love.js this is only an issue for the optimised build target. The compatibility build target should work without SharedArrayBuffers (benefits of running without workers).

Leafo has a good write up on the issue and how to address it at https://itch.io/t/2025776/experimental-sharedarraybuffer-support

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