Skip to content
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 does not recomputes project graph afer changes in node_modules #27943

Open
4 tasks
Exelord opened this issue Sep 16, 2024 · 0 comments
Open
4 tasks

Nx does not recomputes project graph afer changes in node_modules #27943

Exelord opened this issue Sep 16, 2024 · 0 comments

Comments

@Exelord
Copy link

Exelord commented Sep 16, 2024

Current Behavior

When switching to a branch with yarn.lock changes, NX does not recomputes the graph automatically. After running yarn install I need to manually nx reset in order to get a correct graph and use remote cache.

Expected Behavior

When switching to a branch with yarn.lock changes, NX does recomputes the graph automatically and it is watching for any change in node_modules.

GitHub Repo

No response

Steps to Reproduce

  1. Switch to a different branch with changes in dependencies
  2. Try to get targets from remote cache [no cache]
  3. install dependencies and try again [ no cache ]
  4. run nx reset
  5. Try again running from cache [ remote cache found ]

Nx Report

NX 19.7.2

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

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

No branches or pull requests

1 participant