remix
remix copied to clipboard
Node Crash on vite build
Reproduction
It's a bit complicated to give a full reproduction here. We are currently trying to move our existing nx vite monorepo app to remix. When running the build step, we get the following error:
fo [hrtime] Extracted in (385.83ms)
✓ 2905 modules transformed.
rendering chunks (72)...
#
# Fatal error in , line 0
# Fatal JavaScript invalid size error 169220804 (see crbug.com/1201626)
#
#
#
#FailureMessage Object: 0x16d6b41c8
Which seems like some internal Node js stack/array issues. I will try to narrow that down but would appreciate if someone who has seen this before could point out some direction to debug this.
System Info
OS X 14.3
Node v20.11.0
Used Package Manager
npm
Expected Behavior
Build running through.
Actual Behavior
Build erroring out.
Hey @ksjogo, did you ever find the culprit?
Hey @ksjogo, did you ever find the culprit?
I think in some other issue someone discovered that TypeScript references were somehow related to this. We had to remove the references in our project (which was quite bad, as we can't have the tests in another tsconfig project). Didn't try to readd references yet.
Ok. I'm going to close this issue for now to tidy up the repo. If you ever stumble on this again, please open a new one 🙏