Слишком много ошибок при обновлении Angular и NPM - PullRequest
0 голосов
/ 04 марта 2019

Это мой файл package.json, и после обновления Angular у меня появилось около 21 ошибки в Visual Studio.Может ли кто-нибудь объяснить мне, что мне нужно обновить / переустановить или что-то еще, чтобы исправить эти проблемы.Вот скриншот ошибок в Visual Studio.

https://imgur.com/avzC5cO
(Щелкните изображение, чтобы увеличить)

{
      "name": "ewarrent",
      "version": "0.0.1",
      "author": "Ionic Framework",
      "homepage": "http://ionicframework.com/",
      "private": true,
      "scripts": {
        "start": "ionic-app-scripts serve",
        "clean": "ionic-app-scripts clean",
        "build": "ionic-app-scripts build",
        "lint": "ionic-app-scripts lint"
      },
      "dependencies": {
        "@angular/animations": "7.2.7",
        "@angular/cdk": "^6.4.7",
        "@angular/common": "7.2.7",
        "@angular/compiler": "7.2.7",
        "@angular/compiler-cli": "^7.2.7",
        "@angular/core": "7.2.7",
        "@angular/forms": "7.2.7",
        "@angular/http": "7.2.7",
        "@angular/material": "^6.4.7",
        "@angular/platform-browser": "7.2.7",
        "@angular/platform-browser-dynamic": "7.2.7",
        "@ionic-native/background-geolocation": "^4.18.0",
        "@ionic-native/base64-to-gallery": "^4.17.0",
        "@ionic-native/camera": "^4.17.0",
        "@ionic-native/core": "^4.18.0",
        "@ionic-native/extended-device-information": "^4.18.0",
        "@ionic-native/geolocation": "^4.18.0",
        "@ionic-native/google-maps": "^4.15.1",
        "@ionic-native/location-accuracy": "^4.18.0",
        "@ionic-native/native-geocoder": "^4.18.0",
        "@ionic-native/network": "^4.2.0",
        "@ionic-native/splash-screen": "^4.15.0",
        "@ionic-native/status-bar": "^4.15.0",
        "@ionic/storage": "2.2.0",
        "@types/google-maps": "^3.2.0",
        "cordova-android": "^7.1.3",
        "cordova-base64-to-gallery": "~4.1.3",
        "cordova-browser": "~5.0.4",
        "cordova-ios": "4.2.0",
        "cordova-plugin-camera": "~4.0.3",
        "cordova-plugin-device": "^2.0.2",
        "cordova-plugin-geolocation": "~4.0.1",
        "cordova-plugin-ionic-keyboard": "^2.1.3",
        "cordova-plugin-ionic-webview": "^4.0.0",
        "cordova-plugin-nativegeocoder": "~3.1.3",
        "cordova-plugin-splashscreen": "^5.0.2",
        "cordova-plugin-statusbar": "^2.4.2",
        "cordova-plugin-whitelist": "^1.3.3",
        "cordova-windows": "4.4.2",
        "ionic-angular": "3.9.4",
        "ionicons": "3.0.0",
        "rxjs": "^6.4.0",
        "rxjs-compat": "^6.4.0",
        "sw-toolbox": "3.6.0",
        "ts-md5": "^1.2.4",
        "underscore": "^1.9.1",
        "zone.js": "0.8.29"
      },
      "devDependencies": {
        "@ionic/app-scripts": "3.2.2",
        "typescript": "^2.8.3"
      },
      "description": "An Ionic project",
      "cordova": {
        "plugins": {
          "cordova-plugin-whitelist": {},
          "cordova-plugin-statusbar": {},
          "cordova-plugin-device": {},
          "cordova-plugin-splashscreen": {},
          "cordova-plugin-ionic-keyboard": {},
          "cordova-plugin-ionic-webview": {
            "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
          },
          "cordova-plugin-camera": {},
          "cordova-base64-to-gallery": {},
          "cordova-plugin-geolocation": {
            "GEOLOCATION_USAGE_DESCRIPTION": "To locate you"
          },
          "cordova-plugin-nativegeocoder": {},
          "cordova-plugin-x-toast": {},
          "cordova-plugin-googlemaps": {
            "API_KEY_FOR_ANDROID": "AIzaSyC89jUbnEJOIZttITuyoXBX6BFz-yDar7g",
            "API_KEY_FOR_IOS": "AIzaSyC89jUbnEJOIZttITuyoXBX6BFz-yDar7g",
            "LOCATION_WHEN_IN_USE_DESCRIPTION": "This app wants to get your location while this app runs only.",
            "LOCATION_ALWAYS_USAGE_DESCRIPTION": "This app wants to get your location always, even this app runs in background."
          },
          "cordova-plugin-request-location-accuracy": {},
          "cordova-plugin-extended-device-information": {},
          "cordova-plugin-mauron85-background-geolocation": {
            "ICON": "@mipmap/icon",
            "SMALL_ICON": "@mipmap/icon",
            "ACCOUNT_NAME": "@string/app_name",
            "ACCOUNT_LABEL": "@string/app_name",
            "ACCOUNT_TYPE": "$PACKAGE_NAME.account",
            "CONTENT_AUTHORITY": "$PACKAGE_NAME",
            "ALWAYS_USAGE_DESCRIPTION": "This app always requires location tracking"
          },
          "cordova-plugin-network-information": {},
          "cordova-sqlite-storage": {}
        },
        "platforms": [
          "ios",
          "windows",
          "android",
          "browser"
        ]
      }
    }
...