Skip to content

[BUG] npm uninstall doesn't work in 7.7.0 #2927

Closed
@G-Rath

Description

@G-Rath

Current Behavior:

npm uninstall <package> doesn't do anything when using v7.7.0

Expected Behavior:

That the package I specify is uninstalled :)

Steps To Reproduce:

  1. npm i -g npm@7.7.0
  2. npm init -y
  3. npm install luxon
  4. npm uninstall luxon
Users/G-Rath/te is 📦 v1.0.0 took 2s
❯ npm un luxon

up to date, audited 1 package in 234ms

found 0 vulnerabilities

If you replace step 1. with npm i -g npm@7.6.0, it all works as expected:

Users/G-Rath/te is 📦 v1.0.0 took 6s
❯ npm un luxon

removed 1 package, and audited 1 package in 2s

found 0 vulnerabilities

Environment:

OS: Ubuntu 18.04 via WSLv1
Node: 14.6.0
npm: 7.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingPriority 0will get attention right awayRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions