-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
nx and yarn pnp memory leak #23015
Comments
Upgraded node to LTS |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current Behavior
I have just started using NX for a react monorepo and noticed if I left the server running my Macbook would crash after a while.
I tried to track the problem and was able to reproduce it.
To reproduce the issue.
npx create-nx-workspace@latest react-monorepo --preset=react-monorepo
yarn nx serve app-name
yarn --version
// I get v1.22.18
yarn set version stable
// now run yarn --version and you should be on 4.1.1
*then:
yarn config set nodeLinker pnp
yarn install
Expected Behavior
Not to eat all my memory up until my laptop crashes
GitHub Repo
No response
Steps to Reproduce
1.See above
Nx Report
Failure Logs
No response
Package Manager Version
Yarn 4.1.1
Operating System
Additional Information
I have some videos of my Activity Monitor I can post if needed.
The text was updated successfully, but these errors were encountered: