Skip to content

npkill doesnt show node_modules in nested routes #199

@skinnyleonard

Description

@skinnyleonard

Describe the bug
i have a webs folder
inside webs folder i have ALL my projects with react, some not with react, etc
node_modules
so i run "npx npkill" under my webs directory: C:\Users\jesu\documents\webs> npx npkill
what happens, doesnt list me anything
just that
inside webs folder, this first 3 folders have node_modules inside
but npkill doesnt care and dont list me anything
i have like 50 more folders to scan
what can i do here, i tried npx npkill -f, npx npkill -d ./webs
nothing seems to work

its just:
webs/web1/node...
webs/web2/node...
and that. i dont have npm workspaces
but npkill doesnt care

To Reproduce
Steps to reproduce the behavior:
npx npkill

i tried with git bash, cmd, powershell, vscode, all under administrator privileges
this only seems to happen to me

Expected behavior
i expect to list my node_modules, then delete all, just that, Keep It Simple S....

Screenshots
i dont have screenshot
last node version
las windows updates (22h2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions