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 have failed with an error on the first install. workspace is not a supported syntax to reference local workspace projects. workspace means install a version under the workspace dist-tag.
pnpm version: 8.5.1
Code to reproduce the issue:
github repository: https://github.com/tjx666/pnpm-issue-workspace-version
online: https://stackblitz.com/edit/github-yaxxsn?file=packages%2Ffoo%2Fpackage.json
Expected behavior:
pnpm install
pnpm install
again will outputLockfile is up to date, resolution step is skipped
Actual behavior:
no output
Lockfile is up to date, resolution step is skipped
Additional information:
node -v
prints: 18.16.0After I debug code, I find this issue is because https://github.com/pnpm/pnpm/blob/main/pkg-manager/core/src/install/allProjectsAreUpToDate.ts#L117 doesn't consider version number like
workspace
.You can see my foo package pakcage.json definition:
The text was updated successfully, but these errors were encountered: