Diese Seite (Version-1) wurde zuletzt am 12-Apr.-2020 12:05 von Administrator geändert.

Du bist nicht autorisiert, diese Seite umzubenennen.

Du bist nicht autorisiert, diese Seite zu löschen.

Versionsgeschichte der Seite

Version Zuletzt geändert Größe Autor Änderungen Kommentar

Links

Eingehende Links Ausgehende Links

Versionsunterschiede

Unterschiede zwischen Version und .

Zeile 1: 44 Zeilen hinzugefügt.
!Install Node.js
Download at [https://nodejs.org/en/] and install all
!Upgrade npm on Windows
1. run __PowerShell as administrator__
{{{
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm-windows-upgrade --npm-version latest
}}}
See npm-windows-upgrade -h
!Upgrade Angular CLI (ng)
{{{
npm uninstall -g angular-cli
npm install -g @angular/cli@latest
}}}
!Project Update
{{{
npm uninstall @angular-devkit/build-angular
npm install @angular-devkit/build-angular
ng update --all --force
npm install @angular/cli@latest
}}}
Get exact version
{{{
npm install typescript@">=3.4.0 <3.6.0"
npm install typescript@3.5.3 --save-dev --save-exact
}}}
To update CLI to a version > 6 you need to transform .angular-cli.json into angular.json.
Otherwise you get [error|https://stackoverflow.com/questions/49810580/error-local-workspace-file-angular-json-could-not-be-found
] "Local workspace file ('angular.json') could not be found".
{{{
ng update @angular/cli --migrate-only --from=1.7.2
}}}