Describe the bug
When running a fresh Vite React project inside StackBlitz WebContainer, the dev server fails to start. During startup, Rollup downloads @rollup/binding-wasm32-wasi and then crashes with:
RangeError: Invalid atomic access index
worker (tid = 43) sent an error: Invalid atomic access index
As a result, the application never starts and StackBlitz displays "Failed to run start command".
Link to the blitz that caused the error
https://stackblitz.com/edit/vitejs-vite-zzm2vchz?file=README.md
Steps to reproduce
- Open the StackBlitz project:
https://stackblitz.com/edit/vitejs-vite-zzm2vchz?file=README.md
- Open the terminal.
- Run:
npm install
npm run dev
- Wait for Vite to start.
- Observe the error:
RangeError: Invalid atomic access index
and the dev server fails to launch.
Expected behavior
The Vite development server should start successfully and display the application preview without any errors.
Parity with Local
Screenshots
Platform
Browser name = Chrome
Full version = 149.0.0.0
Major version = 149
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
performance.memory = {
"totalJSHeapSize": 85685936,
"usedJSHeapSize": 56922380,
"jsHeapSizeLimit": 4230479872
}
Hash = bd880c29
Additional context
Error occurs after Rollup downloads @rollup/binding-wasm32-wasi.
Node.js version reported by WebContainer:
v22.22.0
StackBlitz UI shows:
"Failed to run start command"
Relevant error:
RangeError: Invalid atomic access index
worker (tid = 43) sent an error: Invalid atomic access index
Describe the bug
When running a fresh Vite React project inside StackBlitz WebContainer, the dev server fails to start. During startup, Rollup downloads @rollup/binding-wasm32-wasi and then crashes with:
RangeError: Invalid atomic access index
worker (tid = 43) sent an error: Invalid atomic access index
As a result, the application never starts and StackBlitz displays "Failed to run start command".
Link to the blitz that caused the error
https://stackblitz.com/edit/vitejs-vite-zzm2vchz?file=README.md
Steps to reproduce
https://stackblitz.com/edit/vitejs-vite-zzm2vchz?file=README.md
npm install
npm run dev
RangeError: Invalid atomic access index
and the dev server fails to launch.
Expected behavior
The Vite development server should start successfully and display the application preview without any errors.
Parity with Local
Screenshots
Platform
Additional context
Error occurs after Rollup downloads @rollup/binding-wasm32-wasi.
Node.js version reported by WebContainer:
v22.22.0
StackBlitz UI shows:
"Failed to run start command"
Relevant error:
RangeError: Invalid atomic access index
worker (tid = 43) sent an error: Invalid atomic access index