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" |
I have come across this issue while trying to export my NPM global installs. More precisely, the problem was with
@google/gemini-clipackage. When a scoped package is installed, the folder created in npm modules is slightly different:This command only takes the
@googlepart, when the rest is ignored:dotly/scripts/package/src/dump.sh
Line 86 in b1ed0ec