Я пытаюсь обновить свой текущий проект с angular 7.2 до angular 9. Я следую за https://update.angular.io/#7 .2: 9.0l2 . Когда я делаю npm установку, я вижу следующее предупреждение на моей консоли. Я попытался установить их по отдельности, например: npm install--save-dev @angular/commons
, но я все еще предупреждение. Попытался очистить кэш. Все еще не повезло. Может кто-нибудь помочь мне с этой ошибкой, пожалуйста?
Мой пакет. json
{
"name": "abc-name",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "node server.js",
"start_local": "ng serve",
"build": "ng build --aot --prod",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"test_node": "UNIT_TESTING=true mocha server.test.js"
},
"private": true,
"dependencies": {
"@angular-devkit/schematics": "^9.1.1",
"@angular/animations": "^9.1.1",
"@angular/cdk": "^9.2.0",
"@angular/fire": "^6.0.0",
"@angular/flex-layout": "^9.0.0-beta.29",
"@angular/http": "^7.2.16",
"@angular/material": "^9.2.0",
"@angular/platform-browser-dynamic": "^9.1.1",
"@angular/platform-server": "^9.1.1",
"@angular/router": "^9.1.1",
"@angular/service-worker": "^9.1.1",
"@ng-bootstrap/ng-bootstrap": "^6.0.2",
"@ng-bootstrap/schematics": "^2.0.0-alpha.1",
"@ngrx/effects": "^9.1.0",
"@ngrx/entity": "^9.1.0",
"@ngrx/router-store": "^9.1.0",
"@ngrx/store": "^9.1.0",
"@ngrx/store-devtools": "^9.1.0",
"@popperjs/core": "^2.2.3",
"@sendgrid/mail": "^7.0.0",
"@sentry/node": "^5.15.4",
"angular-bootstrap-md": "^9.0.1",
"angular-flex": "^1.0.3",
"angular-socialshare": "^2.3.11",
"bcrypt": "^4.0.1",
"body-parser": "^1.18.3",
"bootstrap": "^4.4.1",
"bootstrap.native": "^2.0.24",
"chart.js": "^2.7.3",
"classlist.js": "^1.1.20150312",
"compression": "^1.7.3",
"contentful": "^7.2.0",
"contentful-management": "^5.4.0",
"core-js": "^3.6.5",
"cropperjs": "^1.4.3",
"crypto-js": "^4.0.0",
"dotenv": "^8.2.0",
"easy-pie-chart": "^2.1.7",
"express": "^4.16.4",
"express-oauth-server": "^2.0.0",
"express-session": "^1.15.6",
"express-validator": "^6.4.0",
"firebase": "^7.13.2",
"font-awesome": "^4.7.0",
"hammerjs": "^2.0.8",
"heroku-ssl-redirect": "0.0.4",
"jasmine-marbles": "^0.6.0",
"jquery": "^3.3.1",
"jsforce": "^1.9.1",
"marked": "^0.8.2",
"materialize-css": "^1.0.0",
"mdbootstrap": "^4.15.0",
"multer": "^1.4.1",
"ng-snotify": "^9.0.1",
"ngrx-store-localstorage": "^9.0.0",
"ngx-bootstrap": "^5.6.1",
"ngx-captcha": "^8.0.1",
"ngx-cookie": "^4.1.2",
"ngx-device-detector": "^1.4.2",
"ngx-img": "^10.19.0",
"ngx-input-file-upload": "0.0.0",
"ngx-owl-carousel": "^2.0.7",
"ngx-page-scroll": "^7.0.1",
"ngx-pagination": "^5.0.0",
"ngx-swiper-wrapper": "^9.0.1",
"ngx-twitter-timeline": "^0.1.4",
"nodemailer": "^6.4.6",
"oauth2-server": "^3.0.1",
"passport": "^0.4.0",
"passport-local": "^1.0.0",
"path": "^0.12.7",
"pg": "^8.0.1",
"rewire": "^5.0.0",
"save": "^2.4.0",
"screenfull": "^5.0.2",
"script-loader": "^0.7.2",
"ts-md5": "^1.2.4",
"tslib": "^1.9.3",
"uglify-js": "^3.4.9",
"web-animations-js": "^2.3.1",
"web-push": "^3.3.3",
"zone.js": "^0.10.3"
},
"devDependencies": {
"@agm/core": "^1.1.0",
"@angular-devkit/build-angular": "^0.901.1",
"@angular/cli": "^9.1.1",
"@angular/common": "^9.1.1",
"@angular/compiler": "^9.1.1",
"@angular/compiler-cli": "^9.1.1",
"@angular/core": "^9.1.1",
"@angular/forms": "^9.1.1",
"@angular/language-service": "^9.1.1",
"@angular/localize": "^9.1.1",
"@angular/platform-browser": "^9.1.1",
"@ngrx/schematics": "^9.1.0",
"@nguniversal/express-engine": "^9.1.0",
"@types/core-js": "^2.5.3",
"@types/cropperjs": "^1.3.0",
"@types/crypto-js": "^3.1.43",
"@types/jasmine": "^3.3.8",
"@types/jasminewd2": "^2.0.6",
"@types/node": "^13.11.1",
"chai": "^4.2.0",
"codelyzer": "^5.2.2",
"cookie-session": "^2.0.0-rc.1",
"enhanced-resolve": "^4.1.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-plugin-import": "^2.16.0",
"jasmine-core": "^3.3.0",
"jasmine-spec-reporter": "^5.0.1",
"karma": "^5.0.0",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "^2.1.1",
"karma-jasmine": "^3.1.1",
"karma-jasmine-html-reporter": "^1.4.0",
"less": "^3.9.0",
"mocha": "^7.1.1",
"ng2-charts": "^2.0.0",
"ngx-youtube-player": "^7.1.1",
"protractor": "^5.4.2",
"rxjs": "^6.5.5",
"rxjs-compat": "^6.5.5",
"ts-node": "~8.8.2",
"tslint": "^6.1.1",
"typescript": "3.8.3"
},
"engines": {
"node": "^8.15.0",
"npm": "5.7.1"
}
}
Предупреждения:
npm WARN @agm/core@1.1.0 requires a peer of @angular/common@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @agm/core@1.1.0 requires a peer of @angular/core@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/http@7.2.16 requires a peer of @angular/core@7.2.16 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/http@7.2.16 requires a peer of @angular/platform-browser@7.2.16 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.4.1 requires a peer of popper.js@^1.16.0 but none is installed. You must install peer dependencies yourself.
npm WARN ng2-charts@2.3.0 requires a peer of @angular/common@^7.2.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ng2-charts@2.3.0 requires a peer of @angular/core@^7.2.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-img@10.19.0 requires a peer of @angular/common@4.4.7 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-img@10.19.0 requires a peer of @angular/compiler@4.4.7 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-img@10.19.0 requires a peer of @angular/core@4.4.7 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-img@10.19.0 requires a peer of @angular/forms@4.4.7 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-img@10.19.0 requires a peer of @types/cropperjs@1.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-page-scroll@7.0.1 requires a peer of ngx-page-scroll-core@7.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-twitter-timeline@0.1.5 requires a peer of @angular/common@^7.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-twitter-timeline@0.1.5 requires a peer of @angular/core@^7.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-youtube-player@7.1.2 requires a peer of @angular/common@^7.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-youtube-player@7.1.2 requires a peer of @angular/core@^7.1.0 but none is installed. You must install peer dependencies yourself.
Thanks