Receiving FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory when running yarnpkg build in the build-renderer step. yarnpkg dev runs fine without error.
Did you find a solution or ways to debug it?
@cameronb23 why closed?
@goldquest Using @brandonmp's answer here fixed it for me. Use --max-old-space-size like this:
"build-renderer": "cross-env NODE_ENV=production node --max-old-space-size=4076 --trace-warnings ...
Most helpful comment
@goldquest Using @brandonmp's answer here fixed it for me. Use
--max-old-space-sizelike this: