Am I using npm-check-updates with Yarn 4 correctly? #1464
Unanswered
Jayman2000
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi, thanks for your question. There's a third option! Yarn 4 is no longer published to the npm registry. It uses Corepack and its own hosting service. npm-check-updates, while compatible with other package managers, only works with the npm registry or private registries with the same API. The latest version of $ npm view yarn version
1.22.22 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m really new to Node.js, and I’m struggling to figure out how to do updates for Node.js-related things.
The project that I’m currently working on has this in its
package.json
file:I would like to be able to run a command in order to bump the version in the
"packageManager"
field. At the moment, the latest version of Yarn 4 is 4.5.0, but when I runnpx npm-check-updates --dep packageManager
, it says that everything is up to date. That being said, if I change mypackage.json
file so that it says this:Then,
npx npm-check-updates --dep packageManager
will tell me that I can upgrade to Yarn 1.22.22 which is the latest stable version of Yarn Classic.It seems like there’s one of two things going on here:
"packageManager"
field in mypackage.json
file isn’t correct. I need to do something else in order to use Yarn 4.Which one of those possibilities is happening here?
Beta Was this translation helpful? Give feedback.
All reactions