'npm Install : unable to resolve dependency tree

Eveytime i try npm install i go this errors it is a boilerplate project is downloaded from : https://aspnetboilerplate.com/Templates. I cant generate node_modules folder or start the server it s only on these boilerpart projects.any suggestions please im really tired. here is a screenshot of the issue issue Screenshot

also here is some versions of my environment:

npm: '8.3.1',node: '16.14.0',Angular CLI: 13.2.3



>   Package                      Version
> ------------------------------------------------------ @angular-devkit/architect    0.1302.3 (cli-only) @angular-devkit/core 
> 13.2.3 (cli-only) @angular-devkit/schematics   13.2.3 (cli-only) @schematics/angular          13.2.3 (cli-only)


Solution 1:[1]

Looks like that template is expecting you to use yarn (not npm). You need to get yarn and then, in the terminal (instead of npm install), you do yarn to install the packages.

By the way, the tip off that it's expecting you to use yarn is the presence of the yarn.lock file.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rocky Sims