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
Now add a package from the local file system that does not exists (pnpm add ../proac)
pnpm should fail but it succeeds in adding a non existent package.
Describe the Bug
When I provide an incorrect location of a package from my local file system, then pnpm should fail with the error message that the package does not exist. However, it succeeds and adds the non existent package to the package.json
Expected Behavior
Since there is nothing at the location I provided, pnpm add should fail giving an error that nothing exists at the given location.
Which Node.js version are you using?
18.15.0
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)
No response
The text was updated successfully, but these errors were encountered:
Verify latest release
pnpm version
8.8.0
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
https://github.com/singhshashi/issue-pnpm
Reproduction steps
Describe the Bug
When I provide an incorrect location of a package from my local file system, then pnpm should fail with the error message that the package does not exist. However, it succeeds and adds the non existent package to the package.json
Expected Behavior
Since there is nothing at the location I provided, pnpm add should fail giving an error that nothing exists at the given location.
Which Node.js version are you using?
18.15.0
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: