Hello : I 've run the following command to create new project
ng new RepoPack01 --collection="@igniteui/angular-schematics" --template=side-nav
got this .. why ?
- Installing packages (npm)...npm ERR! code ERESOLVEnpm ERR! ERESOLVE could not resolvenpm ERR!npm ERR! While resolving: repo-pack01@0.0.0npm ERR! Found: @angular/compiler@17.0.9npm ERR! node_modules/@angular/compilernpm ERR! @angular/compiler@"^17.0.0" from the root projectnpm ERR! peer @angular/compiler@"17.0.9" from @angular/compiler-cli@17.0.9npm ERR! node_modules/@angular/compiler-clinpm ERR! dev @angular/compiler-cli@"~17.0.0" from the root projectnpm ERR! peer @angular/compiler-cli@"^17.0.0" from @angular-devkit/build-angular@17.0.10npm ERR! node_modules/@angular-devkit/build-angularnpm ERR! dev @angular-devkit/build-angular@"~17.0.0" from the root projectnpm ERR!npm ERR! Could not resolve dependency:npm ERR! @angular/platform-browser-dynamic@"^17.0.0" from the root projectnpm ERR!npm ERR! Conflicting peer dependency: @angular/compiler@17.1.1npm ERR! node_modules/@angular/compilernpm ERR! peer @angular/compiler@"17.1.1" from @angular/platform-browser-dynamic@17.1.1npm ERR! node_modules/@angular/platform-browser-dynamicnpm ERR! @angular/platform-browser-dynamic@"^17.0.0" from the root projectnpm ERR!npm ERR! Fix the upstream dependency conflict, or retrynpm ERR! this command with --force or --legacy-peer-depsnpm ERR! to accept an incorrect (and potentially broken) dependency resolution.npm ERR!npm ERR!npm ERR! For a full report see:npm ERR! C:\Users\gkheysin\AppData\Local\npm-cache\_logs\2024-01-27T03_00_07_402Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: C:\Users\gkheysin\AppData\Local\npm-cache\_logs\2024-01-27T03_00_07_402Z-debug-0.log× Package install failed, see above.The Schematic workflow failed. See above.
also when applying this steps :
npm config set @infragistics:registry packages.infragistics.com/.../npm config set //packages.infragistics.com/npm/js-licensed/:username=YOUR_USERNAMEnpm config set //packages.infragistics.com/npm/js-licensed/:email=YOUR_IG_EMAILnpm config set //packages.infragistics.com/npm/js-licensed/:_auth=YOUR_IG_AUTH_TOKEN
Is the YOUR_USERNAME is user name on the account or the one shown on the access token page for npm feed.. e-mail I assume from the account..
Also is that the problem that I install both Angular Schematics & Ignite UI CLI .. ? If it is how to uninstall them ?
Thanks.
I updated AngularCLI to the latest : Angular CLI: 17.1.1
But igniteUI update failed
C:\_ngIG\RepoPack01>ng update @igniteui/angular-schematicsUsing package manager: npmCollecting installed dependencies...Found 0 dependencies.Package '@igniteui/angular-schematics' is not a dependency.
C:\_ngIG\RepoPack01>ng update @infragistics/igniteui-angularUsing package manager: npmCollecting installed dependencies...Found 0 dependencies.Package '@infragistics/igniteui-angular' is not a dependency.
Also how do you check versions of the @igniteui/angular-schematics and @infragistics/igniteui-angular