When I run yarn check
I got this warning:
warning "\u001b[2mchokidar#\u001b[22mfsevents#node-pre-gyp@^0.6.29"
could be deduped from "0.6.32" to "[email protected]"
Would someone please help me understand this?
deduped
mean. Many thanks!
The easiest way to fix it is to use git checkout --theirs yarn. lock , and follow up with yarn install again (which can be followup by yarn cache clean to remove any file that wouldn't be needed anymore). This will cause the v1 lockfile to be re-imported.
Just make sure you are in the directory that contains the package. json file, then just yarn or npm install then serve it as you please.
yarn check --integrity Verifies that versions and hashed values of the package contents in the project's package. json match those in yarn's lock file. This helps to verify that the package dependencies have not been altered.
yarn install is used to install all dependencies for a project. This is most commonly used when you have just checked out code for a project, or when another developer on the project has added a new dependency that you need to pick up.
It looks like that your yarn.lock
file contains a duplicated entry for the package node-pre-gyp
at the version 0.6.32
.
You can do the following steps:
yarn.lock
file.yarn install
.yarn check
command.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With