Getting "JavaScript heap out of memory" error on init
See original GitHub issueAffected Packages
Problem
I wanted to try this project out on the pnpm monorepo. In the root of the pnpm monorepo I installed the CLI through: pnpm add -DW @changesets/cli
Then I ran pnpx changeset init
.
After a long wait, during which no output was printed to the terminal, the CLI failed with a JavaScript heap out of memory
exception
Proposed solution
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Node.js heap out of memory - javascript - Stack Overflow
I'm getting the same error even after setting NODE_OPTIONS to 4096 or more. When I run the command npm run build , I...
Read more >How to Fix JavaScript Heap Out of Memory Error - MakeUseOf
Open the Start menu, search for Advanced System Settings, and select the Best match. · From the dialog box, click on Environment Variables,...
Read more >JavaScript Heap Out Of Memory Error - OpenReplay Blog
A quick solution that you can use to fix "Heap Out Of Memory Error" in JavaScript. We lay out the causes and how...
Read more >JavaScript heap out of memory - Snyk Support
This generally occurs on larger projects where the default amount of memory allocated by Node (1.5gb) is insufficient to complete the command successfully....
Read more >JavaScript Heap Out of Memory - Position Is Everything
JavaScript heap out of memory is a common issue that occurs when there are a lot of processes happening concurrently. The default JavaScript...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for your report - gonna take a look.
Closing as this is merged. Thanks a lot @Andarist