Update the angular cli within the project

1

Good afternoon, guys. I'm trying to update the Angular cli in a project. 1. I updated the Angular globally "npm install -g @ angular / cli" updated to Angular 6.0.8. 2. I tried to update the angle 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 / cli @ 6.0.8 postinstall C: \ Users \ didam \ AppData \ Roaming \ npm \ node_modules \ @angular \ cli   node ./bin/ng-update-message.js

    
asked by anonymous 27.06.2018 / 21:29

0 answers