I am not able to run the Layer5 repo.
I did npm install.
then, npm start .
It gets stuck at IMAGE_PROCESSING jobs.
And the CPU usage get really high.
See below SS :
I am not able to run the Layer5 repo.
I did npm install.
then, npm start .
It gets stuck at IMAGE_PROCESSING jobs.
And the CPU usage get really high.
See below SS :
From the contributing guide:
git clone --depth=1 https://github.com/layer5io/layer5.git
make setup
make site
Hopefully, this gets you going, @rinkuhasija.
@Lee
Still, facing the same problem.
It gets Stuck at :
⠙ extract queries from components
[=========================== ] 2.104 s 90/91 99% Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs
rm -rf .cache
rm -rf node_modules
make setup
make site
Let run overnight. Check in the morning.
One thing that worked for me:
The default memory allocation for the Gatsby build process is 1.5GB. However, this default allocation may not be sufficient for larger or more complex projects, and you may need to increase the memory allocation to avoid build failures.
So I increased the memory to 3 gb by
set NODE_OPTIONS=–max_old_space_size=3072
and then running
npm start