NPM ERR! web setup

So I have built a complete local hollaex exchange. However this build was on my nps server and when I am going through the web --setup I get the following:

Wrote 1 CSS files to /app/src/
Creating an optimized production build…
The build failed because the process exited too early. This probably means the system ran out of memory or someone called kill -9 on the process.
npm ERR! errno 1
npm ERR! [email protected] build: npm run build-css && react-scripts --max_old_space_size=3072 build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-26T03_43_02_515Z-debug.log
The command ‘/bin/sh -c npm run build’ returned a non-zero code: 1
Failed to build the image.

Any ideas?

1 Like

Hey there.

I think your system does not have enough memory for building the HollaEx web.

How much RAM do you have on your server?

You should have at least 4GB (6GB+ would be perfect) for building / operating the HollaEx Kit exchange with no small problems.



Yep, my fault. Thought I was running a lot higher. Fixed, thank you.