For some reason, even after changing max_old_space_size
to 8192 I am still getting the error that:
FATAL ERROR: invalid table size Allocation failed - JavaScript heap out of memory
"start": "export NODE_OPTIONS=--max_old_space_size=8192 && nx run zeta-frontend:serve-ssr",
This is what my command looks like ^
Notes:
UPDATE:
Was able to solve via the following:
"ng": "node --max-old-space-size=8192 ./node_modules/.bin/ng",
"nx": "node --max-old-space-size=8192 ./node_modules/.bin/nx",
"start:serve": "npm run nx -- run zeta-frontend:serve",
That finally propagated it as expected.
^ feel free to try if have the same problem
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.