I am trying to upgrade my Angular version from 5 to 6 using the commands shown here, but it doesn't seem to be working:
npx @angular/cli@6 update @angular/cli@6
npx @angular/cli@6 update @angular/core@6
Kindly help me to resolve this issue.
CodePudding user response:
Couple options, either update your package.json
with the specific version you want to use and run npm install
to install that latest version or run
npm install -g @angular/cli@6 //globally
npm install --save-dev @angular/cli@6
ng update @angular/core@6