Fail to npm install
Fail to npm install and got error:
npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @ionic/[email protected] npm ERR! Found: @angular-devkit/[email protected] npm ERR! node_modules/@angular-devkit/build-angular npm ERR! dev @angular-devkit/build-angular@"^12.0.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular-devkit/build-angular@"^0.1102.4" from @ionic/[email protected] npm ERR! node_modules/@ionic/angular-toolkit npm ERR! dev @ionic/angular-toolkit@"^3.1.1" from the root project npm ERR! npm ERR! Conflicting peer dependency: @angular-devkit/[email protected] npm ERR! node_modules/@angular-devkit/build-angular npm ERR! peer @angular-devkit/build-angular@"^0.1102.4" from @ionic/[email protected] npm ERR! node_modules/@ionic/angular-toolkit npm ERR! dev @ionic/angular-toolkit@"^3.1.1" 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.