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

Running nx reset with WebStorm open fails #26796

Open
1 of 4 tasks
NoahAndrews opened this issue Jul 2, 2024 · 1 comment
Open
1 of 4 tasks

Running nx reset with WebStorm open fails #26796

NoahAndrews opened this issue Jul 2, 2024 · 1 comment
Assignees

Comments

@NoahAndrews
Copy link

Current Behavior

If I run nx reset with the workspace open in WebStorm, I get a "Failed to clean up the native file cache" error

Expected Behavior

It should successfully clear the cache without having to close WebStorm

GitHub Repo

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

Steps to Reproduce

  1. Open the project in WebStorm
  2. Run yarn install
  3. Run nx build my-app
  4. Refresh the workspace in the Nx Console WebStorm pane
  5. Run nx reset

Nx Report

Node   : 20.14.0
OS     : win32-x64
yarn   : 1.22.22

nx                 : 19.4.0-rc.0
@nx/js             : 19.4.0-rc.0
@nx/jest           : 19.4.0-rc.0
@nx/linter         : 19.4.0-rc.0
@nx/eslint         : 19.4.0-rc.0
@nx/workspace      : 19.4.0-rc.0
@nx/angular        : 19.4.0-rc.0
@nx/cypress        : 19.4.0-rc.0
@nx/devkit         : 19.4.0-rc.0
@nx/eslint-plugin  : 19.4.0-rc.0
@nx/react          : 19.4.0-rc.0
@nrwl/tao          : 19.4.0-rc.0
@nx/web            : 19.4.0-rc.0
@nx/webpack        : 19.4.0-rc.0
typescript         : 5.4.3
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
@nx/cypress/plugin
@nx/jest/plugin
---------------------------------------
Community plugins:
@ngrx/component-store : 18.0.1
@ngrx/effects         : 18.0.1
@ngrx/entity          : 18.0.1
@ngrx/operators       : 18.0.1
@ngrx/router-store    : 18.0.1
@ngrx/store           : 18.0.1
@ngrx/store-devtools  : 18.0.1

Failure Logs

NX   Resetting the Nx cache and stopping the daemon.



 NX   Failed to reset the Nx workspace.

Failed to clean up the native file cache.

Package Manager Version

No response

Operating System

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

Additional Information

No response

@MaxKless
Copy link
Collaborator

MaxKless commented Jul 3, 2024

Hey! Sorry about this, it's a revert from previous behaviour.

Here's a PR that will fix it #26806

@MaxKless MaxKless self-assigned this Jul 3, 2024
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

2 participants