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
Fixes local Docker startup by moving pnpmPATH/PNPM_HOME setup from shell export statements (which die with the RUN layer) to persistent ENV directives in Dockerfile.node.local.
PNPM_HOME path doesn't match where npm install -g pnpm places the binary
npm install -g pnpm puts the pnpm executable in npm's global bin (e.g., /usr/local/bin), not in /usr/local/share/pnpm/bin. The PATH addition of /usr/local/share/pnpm/bin is inert — pnpm is found only because npm's own bin is already on PATH from the base image. The smoke-test (pnpm --version) passes for the same reason, so it doesn't validate that the new ENV PATH line is correct.
The practical risk: any future step that calls pnpm add -g and expects the resulting binary to be on PATH will silently fail.
Cleaner fix: Node 23 ships with corepack, so corepack enable pnpm (or corepack prepare pnpm@latest --activate) handles PNPM_HOME automatically and avoids this mismatch entirely.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
ToDo