I’m currently working on the Sistent component in the Meshery UI and trying to test my changes locally. However, when I start the development environment, WSL crashes during the build process.
Environment
-
OS: Windows with WSL (Ubuntu)
-
Project: Meshery
Steps to Reproduce
-
Navigate to the Meshery repository
-
Run the
make uicommand
What Happens
The UI starts compiling and Babel logs many messages like:
[BABEL] Note: The code generator has deoptimised the styling … as it exceeds the max of 500KB
After compilation completes:
compiled client and server successfully in 529.4s (61789 modules)
Ready on http://localhost:3000
wait - compiling / (client and server)...
At this point:
- VS Code shows the error:
Cannot connect. Please reload the window.
The WSL environment becomes unstable / crashes, and the development server stops responding.
I also tried:
-
Increasing Node.js max memory (
--max-old-space-size) -
Increasing WSL memory limits
but the issue still occurs.
Screenshot
Error shown in VS Code:
Is this a known issue with Meshery UI builds on WSL?
Any suggestions on debugging or stabilizing the dev environment would be helpful.
