I´m facing the same issue since I migrate my nx workspace to the latest version. The workspace contains an angular+nestjs aplications. Everytime I try to install something that i need to install I´m facing with this. I try with --legacy-peer-deps flag and that is no good idea. enter image description here
package.json dependencies: enter image description here
package.json dev-dependencies: enter image description here
Solved I was having conflicts between package-lock.json