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 Reset and other commands that require project graph fail when daemon experiences an error #27220

Closed
1 of 4 tasks
DuncanMcPherson opened this issue Jul 31, 2024 · 2 comments
Closed
1 of 4 tasks
Assignees
Labels

Comments

@DuncanMcPherson
Copy link

Current Behavior

Currently, if I write a plugin (and leave it in a state where the graph can't process) or manually create a project.json file, the daemon hangs and leaves it's process running. The process that the daemon runs on seems to create a lock on it's log file. Running nx daemon --stop or nx reset seem to have no effect on that lock.

Expected Behavior

running nx daemon --stop or nx reset should force close the affected daemon process.

GitHub Repo

https://github.com/nrwl/nx-examples

Steps to Reproduce

  1. Run nx graph
  2. hit ctrl + c
  3. run nx reset (should fail to reset)
  4. run nx graph (should fail due to EPERM: on daemon.log)

Nx Report

Node   : 20.11.1
OS     : win32-x64
npm    : 10.8.2

nx (global)        : 19.5.1
nx                 : 19.5.3
@nx/js             : 19.5.3
@nx/jest           : 19.5.3
@nx/linter         : 19.5.3
@nx/eslint         : 19.5.3
@nx/workspace      : 19.5.3
@nx/cypress        : 19.5.3
@nx/devkit         : 19.5.3
@nx/eslint-plugin  : 19.5.3
@nx/plugin         : 19.5.3
@nrwl/tao          : 19.5.3
@nx/web            : 19.5.3
typescript         : 5.5.4
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
---------------------------------------
Local workspace plugins:
         @nxextensions/firebase-cypress

Failure Logs

No response

Package Manager Version

No response

Operating System

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

Additional Information

No response

@MaxKless
Copy link
Collaborator

Hello! Thanks for the report :) This is an issue with plugin isolation. Please update to the latest patch 19.5.7 where this is fixed.
If you run into any other issues, please let me know :)

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants