Planning to build a web application πŸ’»? Hire us to deliver 50% faster! πŸ§‘β€πŸ’»πŸ§‘πŸ½β€πŸ”¬

Angular Material Admin Full - npm install doesn'nt work

Gravatar

Hello Support,

I bought the template "Angular Material Admin .NET Core". The backend works fine but the frontend doesn't work. When I try to install the packages with npm I get the following message:

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @angular/[email protected] npm ERR! nodemodules/@angular/common npm ERR! @angular/[email protected]"~13.2.4" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/[email protected]"^6.0.0 || ^7.0.0 || ^8.0.0" from @agm/[email protected] npm ERR! nodemodules/@agm/core npm ERR! @agm/[email protected]"^1.1.0" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See C:\Users\Patri\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Patri\AppData\Local\npm-cache_logs\2022-09-16T093405_034Z-debug-0.log

How can I solve the problem? King regards Patrick Din

Gravatar

This is my version from Node.JS, node packetmanager, and the angular cli:

Angular CLI: 14.2.2 Node: 16.17.0 Package Manager: npm 8.19.2 OS: win32 x64

User profile image
Philip Daineka mod

Hi Partick,

Thanks for purchasing our item!

Could you please try to run yarn instead of npm?

Cookie Consent

By continuing to browse or by clicking 'OK', you agree to the storing of cookies on your device to enhance your site experience and for analytical purposes. To learn more about how we use cookies, please see our cookies policy.