Skip to content

Wrong NPM export for scoped packages #274

Description

@corderop

I have come across this issue while trying to export my NPM global installs. More precisely, the problem was with @google/gemini-cli package. When a scoped package is installed, the folder created in npm modules is slightly different:

├── @google
│   └── gemini-cli
├── npm
└── pnpm

This command only takes the @google part, when the rest is ignored:

ls -1 $HOMEBREW_PREFIX/lib/node_modules | grep -v npm >"$NPM_DUMP_FILE_PATH"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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