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
email@example.com in the
However, there is only
firstname.lastname@example.org 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.