Hi! I’m trying to set up layer5 locally on Windows 11 (16GB RAM) to test a UI fix, but keep hitting a wall.
Environment:
- Windows 11, 16GB RAM
- WSL2 + Ubuntu
- Node v18.20.8, npm 10.8.2
What I tried:
- Running
npm run developdirectly on Windows (PowerShell) — process froze silently withBUILD_FULL_SITE=true - Switched to WSL + Ubuntu, copied project to
/mnt/c/Users/Owner/layer5, ransudo npm install --ignore-scripts=false --foreground-scriptsto fixsharpLinux binary issues - Ran
sudo npm run develop— build progressed all the way through source nodes, schema, createPages, image processing (1046 images), extract queries — then got Terminated right atBuilding development bundle
Final error:
success Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs - 115.991s - 1046/1046
⠴ Building development bundle
Terminated
Running from /mnt/c/ (Windows filesystem via WSL) seems to be the issue — it’s slow and unstable for the final webpack bundle step. Copying to WSL native filesystem (~/layer5) via rsync or cp also caused issues.
Has anyone successfully set up layer5 on Windows? Is there a recommended approach for WSL + Ubuntu? Any help appreciated!