Update Angular cli within project

Asked

Viewed 421 times

1

Good afternoon, you guys. I’m trying to update Angular cli on a project. 1. I updated Angular globally "npm install -g @angular/cli" updated to Angular 6.0.8. 2. I tried to update the angular of the project. At the root of the project gave the following command: "npm install @angular/cli", and gave the following error.

npm WARN The package angular2-jwt is included as Both a dev and Production dependency.

npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in: npm ERR! C: Users didam Appdata Roaming npm-cache_logs 2018-06-27T19_18_55_325Z-debug.log PS D: 2018 ALGAWORKS Spring Boot + Angular didamendes-algamoney-ui> npm install -g @angular/cli C: Users didam Appdata Roaming npm ng -> C: Users didam Appdata Roaming npm node_modules @angular cli bin ng

@angular/[email protected] postinstall C: Users didam Appdata Roaming npm node_modules @angular cli Node . /bin/ng-update-message.js

  • like this package.json?

  • Thank you so much for helping Eduardo Vargas. Getting to upgrade! I deleted Node modules and sent again npm install, then the angular update and ng update worked !!!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.