I’m currently trying to run the Layer5 repository locally, but my Linux system becomes unstable during the build process.
Environment
- OS: Ubuntu Linux
- RAM: 16GB
- Project: Layer5
- Node.js: v20.18.3
- npm: v10.8.2
Steps to Reproduce
1. Clone the repository
cd ~/Workspace/Layer5
git clone --depth=1 https://github.com/KhushamBansal/layer5
2. Navigate to the repository
cd layer5
3. Use the required Node.js version
nvm use 20.18.3
4. Install dependencies
make setup
5. Start the lightweight build
make site
What Happens
The build starts successfully and progresses through Gatsby initialization and page generation.
The build continues successfully through several stages:
success source and transform nodes - 4.835s
success createPages - 1.147s
success extract queries from components - 8.927s
success Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs - 7.425s
Eventually, during development bundle compilation:
⠏ Building development bundle
Unknown type: 11379
Node.js then crashes with a fatal V8 runtime error:
#
# Fatal error in , line 0
# unreachable code
#
This is followed by a long V8 stack trace related to garbage collection and memory allocation.
The build finally exits with:
make: *** [Makefile:26: site] Error 1
Screenshot
Relevant Logs
warn Browserslist: browsers data (caniuse-lite) is 8 months old.
⠏ Building development bundle
Unknown type: 11379
#
# Fatal error in , line 0
# unreachable code
#
