webcontainer-core
webcontainer-core copied to clipboard
Some Astro sites crash after navigation on Chromium based browsers
Describe the bug
In Chromium-based browsers (tested with Chrome and Edge on MacBook M2), the preview crashes when clicking links on some sites built with Astro. This does not happen with Firefox or Safari. Locally (when not using webcontainers), it works with all the browsers.
I tried with several public repositories and found many to be affected, for example:
- https://stackblitz.com/github/satnaing/astro-paper
- https://stackblitz.com/github/roryhen/roryhendrickson.com
Link to the blitz that caused the error
https://stackblitz.com/github/satnaing/astro-paper
Steps to reproduce
- Open the blitz with Chrome or Edge
- Click on any of the top navigation links
- See the preview crashing
Expected behavior
Expecting the page to load normally after navigation.
Parity with Local
- [X] I have run the project in my local machine and I could not reproduce the issue.
Screenshots
No response
Platform
- OS: macOS Version 14.6.1 (Build 23G93)
- Browser: Chrome
- Version: 128.0.6613.114 (Official Build) (arm64)
Additional context
No response