-
Notifications
You must be signed in to change notification settings - Fork 324
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
Error when installing new versions using pnpm #1191
Comments
It works as expected for me: raine[1191]% cat package.json
{
"dependencies": {
"ncu-test-v2": "1.0.0"
}
}
raine[1191]% ncu --upgrade --interactive --format group
Upgrading /Users/raine/projects/ncu-issues/1191/package.json
[====================] 1/1 100%
✔ Choose which packages to update ›
ncu-test-v2 1.0.0 → 2.0.0
✔ Run pnpm install to install new versions? … yes git diff: diff --git a/package.json b/package.json
index 84c652e..a3a9f05 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,6 @@
},
"license": "ISC",
"dependencies": {
- "ncu-test-v2": "1.0.0"
+ "ncu-test-v2": "2.0.0"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 89485a7..e0ce226 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1,13 +1,13 @@
lockfileVersion: 5.4
specifiers:
- ncu-test-v2: 1.0.0
+ ncu-test-v2: 2.0.0
dependencies:
- ncu-test-v2: 1.0.0
+ ncu-test-v2: 2.0.0
packages:
- /ncu-test-v2/1.0.0:
- resolution: {integrity: sha512-Oaw47teUXoN1tzTj8h+q1NiMlRRJeG9cs2EyPkITLogRcsoe3Z/QiTc7dgZdXh8Pm4TL0VhvGz0hnqsR20XFWw==}
+ /ncu-test-v2/2.0.0:
+ resolution: {integrity: sha512-Jqu6DzpKkTrUdeL+VN/X4lz4IVDxkNAqVHmyJ+3uVcszqPlU8JMNTA2qeihzMcbd4pOiagKlJno7r+EO2WLmfw==}
dev: false |
@raineorshine sorry, forgot to mention. Indeed the package.json, pnpm-lock.yaml and node_modules does get updated, but and error is thrown after. The error doesn't screw anything up, it's just annoying to see it every time and I am curious if other people have it too... |
I'm not seeing any error on my side when I run the command as described. Without being able to reproduce it there's not much I can do, but maybe somebody who can reproduce it is able to investigate. |
Repository: https://github.com/leosuncin/nest-api-example |
Thanks for the repo. I was able to reproduce the issue. I found that pnpm was silently failing with It may occur in The reason the error was not printed out is that Published in npm-check-updates |
Please open a separate issue with steps to reproduce if the error with |
npm-check-updates
node >= 14
Steps to Reproduce
.ncurc:
Dependencies:
Steps:
ncu --upgrade --interactive --format group
Current Behavior
An error is thrown:
Expected Behavior
No errors should be thrown
Thank you in advance for the help on this matter as I am curious if my pnpm has some issues or if it's something else!
The text was updated successfully, but these errors were encountered: