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
pnpm complains that it can't find package c on the workspace, even though c is set to alias package b
Scope: all 3 workspace projects
/pnpm-workspace-alias/a:
ERR_PNPM_WORKSPACE_PKG_NOT_FOUND In a: "c@workspace:*" is in the dependencies but no package named "c" is present in the workspace
This error happened while installing a direct dependency of /pnpm-workspace-alias/a
Packages found in the workspace: a, b
Expected Behavior
It should be able to run the upgrade
Which Node.js version are you using?
v21.7.2
Which operating systems have you used?
macOS
Windows
Linux
If your OS is a Linux based, which one it is? (Include the version if relevant)
Arch Linux (6.8.7-zen1-1.1-zen)
The text was updated successfully, but these errors were encountered:
Package installation works fine, so I assumed this was a supported feature. Needed this because I'm publishing some workspace packages but wanted a shorter package name that can be imported by private packages.
Verify latest release
pnpm version
9.0.4
Which area(s) of pnpm are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
https://github.com/mary-ext/repro-pnpm-workspace-alias
Reproduction steps
pnpm up -r
on the workspace rootDescribe the Bug
pnpm complains that it can't find package
c
on the workspace, even thoughc
is set to alias packageb
Expected Behavior
It should be able to run the upgrade
Which Node.js version are you using?
v21.7.2
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Arch Linux (6.8.7-zen1-1.1-zen)
The text was updated successfully, but these errors were encountered: