Closed WayneUong closed 5 years ago
Hi, we're seeing essentially the same behavior when trying to build with Gitlab Runner in a Kubernetes cluster. The build process appears to get stuck after line 21.
Is there a good way to debug the process, other than forking this repository and adding some more echo
statements?
Most likely this is an out-of-memory condition caused by what is almost always a very minification process by Terser/Uglify.
A Rust-based minifier would go a long ways! :smile: 👀 https://github.com/GuillaumeGomez/minifier-rs
Anyhow, unfortunately, I'm certain that additional debugging would yield this as the problem. If you can provide more memory to the image, and increase Node memory usage by setting the environment variable NODE_OPTIONS=--max-old-space-size=<larger number in MB>
, you might have better luck!
I got this error when trying
docker build -t yourname/app .
AfterNode#moveTo was deprecated. Use Container#append.
it stays silent for 20-30 minutes, then this error shows.