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
Add a dependency to a folder, e.g.: "@types/bpmn-js": "file:./@types/bpmn-js"
Run pnpm install
It runs without issues.
Run pnpm install --frozen-lockfile
Should run without issues.
Actual behavior:
Add a dependency to a folder, e.g.: "@types/bpmn-js": "file:./@types/bpmn-js"
Run pnpm install
It runs without issues.
Run pnpm install --frozen-lockfile
Shows ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY error
Running any other pnpm install command afterwards produces the ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY error. In this example I run pnpm install --frozen-lockfile to simulate a build pipeline:
After running pnpm install once, you will always get the error from that point on (unless the local package dependency is removed):
Additional information:
node -v prints: v16.18.1
Windows, macOS, or Linux?: Windows
The text was updated successfully, but these errors were encountered:
I managed to reproduce this issue with a completely fresh repository (see "Code to reproduce the issue"). So the lockfile was created by pnpm v8.1.0, therefore the lockfile is already v6.
Last pnpm version that worked:
7.30.5
pnpm version:
8.1.0
Code to reproduce the issue:
I uploaded a repro repository for this here: https://github.com/MaSch0212/pnpm-local-package-issue
Expected behavior:
"@types/bpmn-js": "file:./@types/bpmn-js"
pnpm install
pnpm install --frozen-lockfile
Actual behavior:
"@types/bpmn-js": "file:./@types/bpmn-js"
pnpm install
pnpm install --frozen-lockfile
ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY
errorRunning any other
pnpm install
command afterwards produces theERR_PNPM_LOCKFILE_MISSING_DEPENDENCY
error. In this example I runpnpm install --frozen-lockfile
to simulate a build pipeline:After running
pnpm install
once, you will always get the error from that point on (unless the local package dependency is removed):Additional information:
node -v
prints: v16.18.1The text was updated successfully, but these errors were encountered: