Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

npm run build failed with insufficient heap memory. #29

Open
derneuere opened this issue Oct 20, 2021 · 0 comments
Open

npm run build failed with insufficient heap memory. #29

derneuere opened this issue Oct 20, 2021 · 0 comments

Comments

@derneuere
Copy link
Member

This appears to be a recent npm issue, which I fixed by changing the command to
node --max-old-space-size=4096 which npm install.
I could give the VM more real memory, but it really shouldn't need any more if the coding is efficient.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant