npm ERR! ERESOLVE unable to resolve dependency tree

4.9k Views Asked by At

I'm Try to create new ionic project, But facing this error Is there anyone know why I got this Error messages ? and how to fix it ?

I tried:

npm cache clean --force 

and

--force, or --legacy-peer-deps these flag with my command but no any luck.

enter image description here

Thanks in advance!

1

There are 1 best solutions below

1
On

I've sent a PR to the starters template updating angular and should prevent the errors.

But you can also downgrade npm from 7 to 6 as workaround.