Skip to content

Browsers without WebAssembly support not working - workarounds? #3397

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

Open
acidjazz opened this issue Jun 9, 2025 · 5 comments Β· May be fixed by #3399
Open

Browsers without WebAssembly support not working - workarounds? #3397

acidjazz opened this issue Jun 9, 2025 · 5 comments Β· May be fixed by #3399

Comments

@acidjazz
Copy link
Contributor

acidjazz commented Jun 9, 2025

Environment

🚫 Firefox ESR 138.0.3 (64-bit) Linux
🚫 Vanadium 137.0.7151.72
βœ… Firefox 138.0.3 (aarch64) macOS
βœ… Chromium 136.0.7103.113 (64-bit) Linux

Version

v3

Reproduction

Try using a content site with any browser that does not have WebAssembly

Description

So I know v3 support for browsers that don't have WebAssembly is not really on the table, but when running into this issue I was curious if there is some sort of way to just force SSR for these cases so that the can still work.

Currently I have hacks in my setup that I'm not proud of like

  if (import.meta.client && !window.WebAssembly) document.location.reload()

I wonder if there's something we can do in middleware or elsewhere to just at least have the site work?

Additional context

No response

Logs

@acidjazz acidjazz changed the title Browsers without WebAssembly support not working - potential workarounds Browsers without WebAssembly support not working - workarounds? Jun 9, 2025
@farnabaz farnabaz linked a pull request Jun 10, 2025 that will close this issue
7 tasks
@farnabaz
Copy link
Member

Thanks for creating issue.
Just dropped small PR which should fix the issue. I appreciate if you check and confirm fix and behavior.

@acidjazz
Copy link
Contributor Author

Thanks for creating issue. Just dropped small PR which should fix the issue. I appreciate if you check and confirm fix and behavior.

Many heart and thank you emojis

@farnabaz
Copy link
Member

@acidjazz Have you got time to test it? You can test using pr release

npm i https://pkg.pr.new/@nuxt/content@3399

@acidjazz
Copy link
Contributor Author

@acidjazz Have you got time to test it? You can test using pr release

npm i https://pkg.pr.new/@nuxt/content@3399

No but I will soon and report back ASAP!

@acidjazz
Copy link
Contributor Author

@farnabaz i tried testing this but ran into the queryCollectionWithEvent issue here because @nuxtjs/sitemap uses this here

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

Successfully merging a pull request may close this issue.

2 participants