Open sapphi-red opened 1 year ago
Is your build failing? No
Describe the bug It's documented that pnpm version of packageManager is used.
packageManager
To specify a pnpm version, you can edit your package.json file: https://docs.netlify.com/configure-builds/manage-dependencies/#pnpm
But the default version (7.13.4) is used even if packageManager field exists.
To Reproduce
Steps to reproduce the behavior:
https://github.com/sapphi-red-repros/netlify-pnpm-cannot-iterate-over-repro
204df13623a9a831a0a663844fa02fb49b531dd2
Configuration
[build.environment] NODE_VERSION = "16" [build] publish = "packages/foo/.vitepress/dist" command = "pnpm build-foo"
Expected behavior pnpm@7.25.0 is used.
Build Output N/A
Additional context I guess this is happening because of this error when running mv. https://app.netlify.com/sites/dashing-marzipan-db6e0f/deploys/63ca21d3e60cb2209d3758ad#L23
mv
Ah, no, I was wrong. pnpm@7.25.0 is actually used. But the activation for pnpm@7.13.4 is running even if it's not needed, I guess.
Is your build failing? No
Describe the bug It's documented that pnpm version of
packageManager
is used.But the default version (7.13.4) is used even if
packageManager
field exists.To Reproduce
Steps to reproduce the behavior:
https://github.com/sapphi-red-repros/netlify-pnpm-cannot-iterate-over-repro
204df13623a9a831a0a663844fa02fb49b531dd2
Configuration
Expected behavior pnpm@7.25.0 is used.
Build Output N/A
Additional context I guess this is happening because of this error when running
mv
. https://app.netlify.com/sites/dashing-marzipan-db6e0f/deploys/63ca21d3e60cb2209d3758ad#L23