pnpm add
on a GitHub dependency when changing tag does not install on first try
#6966
Closed
2 of 4 tasks
Labels
Verify latest release
pnpm version
No response
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
No response
Reproduction steps
pnpm-lock.yaml
as the end:It is also worth noting that if the same add command is run again, it then suddenly works:
Describe the Bug
When running
pnpm add
with a new tag for an existing GitHub dependency, the specifier for the dependency is updated, but the new version is not actually installed. If the command is run a second time, the new version is then added.Expected Behavior
I would expect the new version to be installed when I run the command the first time, as the specifier I am using has changed.
Which Node.js version are you using?
18.16.1
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
The text was updated successfully, but these errors were encountered: