angular - 'npm update' command is not working to update dependencies in Angular2 -


i want update outdated dependencies in angular 2. when run npm outdated, displayed outdated dependencies when try update them npm update command not working me. npm version 5.3.0.

"private": true, "dependencies": { "@angular/animations": "^4.3.4", "@angular/cdk": "^2.0.0-beta.8", "@angular/common": "^4.3.4", "@angular/compiler": "^4.0.0", "@angular/core": "^4.0.0", "@angular/forms": "^4.3.4", "@angular/http": "^4.0.0", "@angular/material": "^2.0.0-beta.8", "@angular/platform-browser": "^4.0.0", "@angular/platform-browser-dynamic": "^4.0.0", "@angular/router": "^4.0.0", "@ngui/tab": "^0.5.0", "angular-route": "^1.6.5", "angular2-jwt": "^0.2.3", "angular2-social-login": "^3.1.1", "bootstrap": "^3.3.7", "bootstrap-sidebar": "^0.2.2-retry", "chart.js": "^2.6.0", "core-js": "^2.4.1", "ng2-charts": "^1.6.0", "ng2-toastr": "^4.1.2", "ng2-validators": "^2.2.0", "rxjs": "^5.1.0", "zone.js": "^0.8.4"  }, "devdependencies": { "@angular/cli": "1.3.1", "@angular/compiler-cli": "^4.0.0", "@angular/language-service": "^4.0.0", "@types/jasmine": "~2.5.53", "@types/jasminewd2": "~2.0.2", "@types/node": "~8.0.24", "codelyzer": "~3.1.2", "jasmine-core": "~2.7.0", "jasmine-spec-reporter": "~4.2.1", "karma": "~1.7.0", "karma-chrome-launcher": "~2.2.0", "karma-cli": "~1.0.1", "karma-coverage-istanbul-reporter": "^1.2.1", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.1.2", "ts-node": "~3.3.0", "tslint": "~5.6.0", "typescript": "~2.4.2" } } 

thanks!

install package npm-check, can found here:

https://www.npmjs.com/package/npm-check

then, in project console type npm-check -u. show interactive menu , you'll able check packages want update.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -