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 console (Jetbrains) create nx-win32-x64-msvc file #1950

Closed
1 of 4 tasks
puschie286 opened this issue Nov 29, 2023 · 1 comment
Closed
1 of 4 tasks

Nx console (Jetbrains) create nx-win32-x64-msvc file #1950

puschie286 opened this issue Nov 29, 2023 · 1 comment
Labels
type: bug Something isn't working

Comments

@puschie286
Copy link

puschie286 commented Nov 29, 2023

Current Behavior

Nx Console create a 'nx.win32-x64-msvc.node' file in every project and locks it. makes impossible to delete node_modules, update / install with yarn or npm.

Expected Behavior

dont create locked file - dont create any files in non nx projects!

GitHub Repo

No response

Steps to Reproduce

  1. open any project with an jebrains ide (with NxConsole installed) that have a node_modules folder
  2. try to delete node_modules

Nx Report

nx is not installed

Failure Logs

yarn install ->
error Error: EPERM: operation not permitted, unlink '***\node_modules\@nx\nx-win32-x64-msvc\nx.win32-x64-msvc.node'

Package Manager Version

yarn 1.22.21

Operating System

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

Additional Information

occur in nx based projects and non nx projects

@puschie286 puschie286 added the type: bug Something isn't working label Nov 29, 2023
@AgentEnder AgentEnder transferred this issue from nrwl/nx Dec 1, 2023
@MaxKless
Copy link
Collaborator

MaxKless commented Dec 4, 2023

Closing this as a duplicate of #1863

The daemon is locking the file when nx is starting up, probably because you have nx somewhere in your dependency chain. Maybe angular-eslint?
We're working on a fix as specified in the linked issue.
For now you can run npx nx daemon --stop before deleting node_modules

@MaxKless MaxKless closed this as completed Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants