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

[BUG] npm ci --dry-run deletes node_modules folders #2524

Closed
ASDFGerte opened this issue Jan 21, 2021 · 2 comments
Closed

[BUG] npm ci --dry-run deletes node_modules folders #2524

ASDFGerte opened this issue Jan 21, 2021 · 2 comments
Labels
Bug thing that needs fixing Release 7.x work is associated with a specific npm 7 release

Comments

@ASDFGerte
Copy link

Current Behavior:

Executing npm ci --dry-run deletes all folders in node_modules.

Expected Behavior:

Optimally, just the text output, as --dry-run describes, or an error, that it's incompatible with npm ci.

Environment:

  • OS: Windows 7
  • Node: 15.6.0
  • npm: 7.4.0
@ASDFGerte ASDFGerte added Bug thing that needs fixing Needs Triage needs review for next steps Release 7.x work is associated with a specific npm 7 release labels Jan 21, 2021
@darcyclarke
Copy link
Contributor

@ASDFGerte I just tried this with the latest v7 (ie. npm i -g npm@7) & could not replicate. Can you try installing the latest version & trying again? If you're still experiencing this issue, I'll reopen.

@darcyclarke darcyclarke removed the Needs Triage needs review for next steps label Feb 2, 2021
@dave-kennedy
Copy link

dave-kennedy commented Jan 31, 2023

@darcyclarke this is still happening on npm version 9.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Release 7.x work is associated with a specific npm 7 release
Projects
None yet
Development

No branches or pull requests

3 participants