WaspW
Wasp•10mo ago
LibanAbdullahi

Vite + esbuild errors in Wasp dev mode

Hey everyone! 👋

I’m working on App, built with Wasp + OpenSaaS. I successfully deployed the app to production (runs fine), but in dev mode (wasp start), I’m getting Vite + esbuild errors:

[plugin:vite:esbuild] Transform failed with 3 errors:
ERROR: The symbol "inWebWorker" has already been declared
ERROR: The symbol "prevRefreshReg" has already been declared
ERROR: The symbol "prevRefreshSig" has already been declared

Things I’ve tried so far:
✅ wasp clean && rm -rf .wasp/out node_modules package-lock.json && npm install
✅ Running with --disable-hmr and --force-polling
✅ Tried downgrading to Node.js v20 (LTS), still no luck

I’m running Windows 11 + WSL (Ubuntu) with Node.js v22.
Has anyone faced this before? Any ideas on what might be causing this? Thanks! 🙌
Errors.png
Was this page helpful?