Skip to content

Issue with pnpm and Windows #75

@vdurante

Description

@vdurante

Describe the bug
I have installed node modules using pnpm and using npkill causes an error

To Reproduce
Steps to reproduce the behavior:

  1. Run pnpm install in any node project
  2. Try to use npkill through the command pnpx npkill
  3. Select the project
  4. Error

The following error happens on pretty much the whole .pnpm folder:

Error: ENOTEMPTY: directory not empty, rmdir 'C:\Repos\Testing\node_modules\.pnpm\registry.npmjs.org\yargs

  • OS: Windows
  • Version: v0.7.0

FYI, the pnpm folders use syslinks extensively. I understand this tool is not meant to support pnpm, but maybe the solution to such issue is as simple as changing a few lines and achieving full compatibility with pnpm.

Apparently, using rmdir command on Windows works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions