-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaScript heap out of memory on npm run client:dev
#13529
Comments
I would like to pick this up. Can you assign it to me? |
This doesn't fix the issue. |
@JohnDoe453 Can you elaborate a bit more? It doesn't happen on my pc. But setting --max_old_space_size to a bigger value is the way to fix this. Is it happening for all devs? Does it happen only on windows? What's the system specifications of the said system? |
@SneakySensei Here's a gist of my error logs What I tried:
Any help would be appreciated. Thank you! |
Hi, I too do not have this issue but did scour the web for solutions, |
Hi, i tried making the changes in package.json but the error is still the same
I also tried setting up using docker, but im still having the same error when it comes to running npm run client:dev. not sure if the issue is with my machine |
Attempted fix didn't take for some people, and the PR author hasn't been responding. Opening this back up for contributors to investigate! |
The real NodeJS arg to increase heap space would be This is what I use when that problem occurs (mostly when using bundlers such as rollup). |
@phorcys420 Could you put together a PR for this? |
I just tried that last one and still hit the issue with 4096 as the size... but I'm inept enough at this particular thing that it's possible I messed up where or how to put it, even though it SEEMED like I did it right... (I was trying it on my local install purely because I was going through the entire installation on a new device and have been itching to make sure the install actually, like, worked. But maybe I've gotten ahead of myself and should wait for someone more skilled to fix it.) |
I mean.. sure ? I don't really see the point though. Likely,
to
EDIT: tried to get a dev env running, everything literally exploded, had around 3 warnings for 100+ vulnerabilities each. |
Huh, that's weird. Did you follow the instructions on the Setting up Habitica Locally wiki page? |
Isn't this exactly the fix that was attempted already? I thought you said we needed a not underscored parameter? |
Hey, I struggled with the same issue, but as for me the problem was fixed by deleting local copy of the repo and cloning it again, with small change, I've ran |
General Info
Description
While setting up the project locally, running
npm run client:dev
givesJavaScript heap out of memory
errorConsole Errors
The text was updated successfully, but these errors were encountered: