You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should rebuild as normal, everything worked fine for 7.18.2.
Actual behavior:
$ pnpm rebuild
ERR_INVALID_ARG_TYPE The "path" argument must be of type string. Received undefined
pnpm [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:371:5)
at validateString (node:internal/validators:120:11)
at Object.dirname (node:path:1276:5)
at binDirsInAllParentDirs (/usr/local/pnpm-global/5/node_modules/.pnpm/pnpm@7.19.0/node_modules/pnpm/dist/pnpm.cjs:119203:29)
at /usr/local/pnpm-global/5/node_modules/.pnpm/pnpm@7.19.0/node_modules/pnpm/dist/pnpm.cjs:119146:35
at /usr/local/pnpm-global/5/node_modules/.pnpm/pnpm@7.19.0/node_modules/pnpm/dist/pnpm.cjs:52958:38
at run (/usr/local/pnpm-global/5/node_modules/.pnpm/pnpm@7.19.0/node_modules/pnpm/dist/pnpm.cjs:52958:52)
at next (/usr/local/pnpm-global/5/node_modules/.pnpm/pnpm@7.19.0/node_modules/pnpm/dist/pnpm.cjs:52953:26)
at run (/usr/local/pnpm-global/5/node_modules/.pnpm/pnpm@7.19.0/node_modules/pnpm/dist/pnpm.cjs:52964:9)
I assume it's one of our many dependencies that breaks. I will investigate and see if I can pinpoint the culprit.
Additional information:
node -v prints: we run image: node:16.14.0
Windows, macOS, or Linux?: docker:stable in Gitlab (Linux)
.npmrc:
node-linker=hoisted
// plus some auth-stuff for our internal npm registry
The text was updated successfully, but these errors were encountered:
pnpm version:
7.19.0
Code to reproduce the issue:
We run this in our Gitlab CI pipeline.
We need the
rebuild
because otherwise we cannot execute bin commands in our NPM scripts. This is what happens if we don't runpnpm rebuild
:Expected behavior:
It should rebuild as normal, everything worked fine for 7.18.2.
Actual behavior:
I assume it's one of our many dependencies that breaks. I will investigate and see if I can pinpoint the culprit.
Additional information:
node -v
prints: we runimage: node:16.14.0
docker:stable
in Gitlab (Linux).npmrc
:The text was updated successfully, but these errors were encountered: