Encountered the same problem today and was pretty lost.
It seems it was due to mismatches in the package versions between the apps and the library.
In the end I ran `pnpm dlx syncpack fix-mismatches` (or run `pnpm dlx syncpack list-mismatches` first to see what changes will be applied) and the problem was solved.