Search code examples
javascriptnode.jsangularangularjsaspnetboilerplate

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

  • The problem solved ! .It was after running npm install --legacy-peer-deps before getting the error again,a bunch of warnings were shown telling me that the project must use

    npm version : 6.11.0 and node version >=14.0 so i had to switch into those older versions and it s done .