A modules directory is present and is linked to a different store directory.
If you changed the store directory intentionally, run
pnpm install and pnpm will reinstall the dependencies using the new store.
A project has a workspace dependency that does not exist in the workspace.
For instance, package
firstname.lastname@example.org in the
However, there is only
email@example.com in the workspace, so
pnpm install will fail.
To fix this error, all dependencies that use the workspace protocol should be updated to use versions of packages that are present in the workspace. This can be done either manually or using the
pnpm -r update command.
pnpm install will fail if the project has unresolved peer dependencies or the peer dependencies are not matching the wanted ranges. To fix this, install the missing peer dependencies.
This error happens when installation cannot be performed without changes to the lockfile. This might happen in a CI environment if someone has changed a
package.json file in the repository without running
pnpm install afterwards. Or someone forgot to commit the changes to the lockfile.
To fix this error, just run
pnpm install and commit the changes to the lockfile.
This error indicates that the downloaded package's tarball did not match the expected integrity checksum.
If you use the npm registry (
registry.npmjs.org), then this probably means that the integrity in your lockfile is incorrect.
This might happen if a lockfile had badly resolved merge conflicts.
If you use a registry that allows to override existing versions of a package, then it might mean that in your local metadata cache you have the integrity checksum of an older version of the package. In this case, you should run
pnpm store prune. This command will remove your local metadata cache. Then you can retry the command that failed.
But also be careful and verify that the package is downloaded from the right URL. The URL should be printed in the error message.
The config field
use-node-version defines a release channel different from version suffix.
rcchannel but the version is that of a stable release.
releasechannel but the version is that of an RC release.
To fix this error, either remove the release channel prefix or correct the version suffix.
The value of config field
use-node-version has an invalid syntax.
Below are the valid forms of
- Stable release:
- RC release: