-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: provide a way to fix "no matching version found inside the workspace" automatically #4477
Comments
You may automatically fix such issues with:
We can probably add this to the error message. Implementing a prompt sounds good to me as well. |
#metoo |
Me too. |
Why don't you just use the |
That would be the case if it worked, but for me (And apperantly a few others around here), it'll complain that the version mismatches or is not found at all. Which in turn prevents the use of pnpm almost altogether. |
I agree with the other comments. I'm not having this happen with a monorepo/workspace, I'm having this happen in general. I'm upgrading a library, and the newer version depends on a newer version of a previously installed library. the lockfile is preventing the upgrade. |
Until we have a reproduction available we can't fix it |
I deal with this pretty often. Resolving merge conflicts in package.json may lead to incorrectly typed version of dependency. Would be nice, if, after displaying message ' No matching version found for pkgname@1.2.12 inside the workspace' pnpm install would continue with 'found 1.3.5 instead. Would you like to update and proceed? Yes/no'
The text was updated successfully, but these errors were encountered: