question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting "JavaScript heap out of memory" error on init

See original GitHub issue

Affected 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:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Andaristcommented, Mar 26, 2020

Thank you for your report - gonna take a look.

0reactions
Novinycommented, Mar 29, 2020

Closing as this is merged. Thanks a lot @Andarist

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found