I have the same problem as: npm not recognizing global package
Globally installed packages that require peerDependencies don’t see the needed packages, neither installing them locally or globally, and keep reporting the missing peer dependencies.
Also when i try
npm list -g, the peer dependencies that I tried to install globally are reported as extraneous.
How can we solve the problem and get them recognised?