npx ng update @angular/cli@11 --force
This diff is collapsed.
-
Author Owner
The installed Angular CLI version is outdated. Installing a temporary Angular CLI versioned 11.2.18 to perform the update. Installing packages for tooling via npm. Installed packages for tooling via npm. Using package manager: 'npm' Collecting installed dependencies... Found 33 dependencies. Fetching dependency metadata from registry... Updating package.json with dependency @angular-devkit/build-angular @ "0.1102.18" (was "0.1000.7")... Updating package.json with dependency @angular/cli @ "11.2.18" (was "10.2.4")... Updating package.json with dependency @angular/compiler-cli @ "11.2.14" (was "10.0.11")... Updating package.json with dependency @angular/language-service @ "11.2.14" (was "10.0.11")... Updating package.json with dependency karma @ "6.3.16" (was "5.0.9")... Updating package.json with dependency ng-packagr @ "11.2.4" (was "10.0.4")... Updating package.json with dependency typescript @ "4.1.6" (was "3.9.7")... Updating package.json with dependency @angular/animations @ "11.2.14" (was "10.0.14")... Updating package.json with dependency @angular/common @ "11.2.14" (was "10.0.14")... Updating package.json with dependency @angular/compiler @ "11.2.14" (was "10.0.14")... Updating package.json with dependency @angular/core @ "11.2.14" (was "10.0.14")... Updating package.json with dependency @angular/forms @ "11.2.14" (was "10.0.14")... Updating package.json with dependency @angular/platform-browser @ "11.2.14" (was "10.0.14")... Updating package.json with dependency @angular/platform-browser-dynamic @ "11.2.14" (was "10.0.14")... Updating package.json with dependency @angular/router @ "11.2.14" (was "10.0.14")... UPDATE package.json (1742 bytes) ✔ Packages installed successfully. ** Executing migrations of package '@angular/cli' ** ▸ Replace deprecated library builder '@angular-devkit/build-ng-packagr'. UPDATE angular.json (5371 bytes) UPDATE package.json (1690 bytes) Migration completed. ▸ Add 'declarationMap' compiler options for non production library builds. UPDATE projects/json2html/tsconfig.lib.prod.json (152 bytes) UPDATE projects/json2html/tsconfig.lib.json (719 bytes) Migration completed. ▸ Remove deprecated options from 'angular.json' that are no longer present in v11. UPDATE angular.json (5337 bytes) Migration completed. ▸ Update workspace dependencies to match a new v11 project. UPDATE package.json (1690 bytes) ✔ Packages installed successfully. Migration completed. An unhandled exception occurred: Cannot find module '@angular-devkit/core' Require stack: - /home/zefling/Documents/Git/json2html-demo/node_modules/@angular/core/schematics/utils/project_tsconfig_paths.js - /home/zefling/Documents/Git/json2html-demo/node_modules/@angular/core/schematics/migrations/missing-injectable/index.js See "/tmp/ng-FFHx9Q/angular-errors.log" for further details.
Please register or sign in to comment