-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: docsRelated to the documentationRelated to the documentation
Description
Versions
ng --version
Your global Angular CLI version (6.0.5) is greater than your local
version (1.7.4). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 1.7.4
Node: 8.11.2
OS: win32 ia32
Angular: 5.2.5
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
@angular/cli: 1.7.4
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.5.3
webpack: 3.11.0
Repro steps
Use PowerShell with the current dotnet SDK (2.1.201), create an Angular template and then try to update it from angular 5 to 6 following the steps outlined here
dotnet new angular
cd .\ClientApp
npm install -g @angular/cli
npm install @angular/cli
ng update @angular/cli
Observed behavior
ng update @angular/cli fails with the following error:
Your global Angular CLI version (6.0.5) is greater than your local
version (1.7.4). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Error: Unexpected end of JSON input
Unexpected end of JSON input
Desired behavior
ng update @angular/cli should not fail.
Mage111, clee231, shankarNalawade and wickdninja
Metadata
Metadata
Assignees
Labels
area: docsRelated to the documentationRelated to the documentation