Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48978

How to solve import { OpaqueToken } from '@angular/core' Error

$
0
0

Please help me I am getting error.
[ng] Error: node_modules/@ionic/storage/es2015/storage.d.ts:2:10 - error TS2305: Module ‘"@angular/core"’ has no exported member ‘OpaqueToken’.
[ng] 2 import { OpaqueToken } from ‘@angular/core’;
[ng]

npm list :-
±- ngcc_entry_points.json@ extraneous
±- @angular-devkit/build-angular@12.1.4
±- @angular-eslint/builder@12.0.0
±- @angular-eslint/eslint-plugin-template@12.0.0
±- @angular-eslint/eslint-plugin@12.0.0
±- @angular-eslint/template-parser@12.0.0
±- @angular/cli@12.1.4
±- @angular/common@12.1.5
±- @angular/compiler-cli@12.1.5
±- @angular/compiler@12.1.5
±- @angular/core@12.1.5
±- @angular/forms@12.1.5
±- @angular/language-service@12.0.5
±- @angular/platform-browser-dynamic@12.1.5
±- @angular/platform-browser@12.1.5
±- @angular/router@12.1.5
±- @ionic-native/app-version@5.35.0
±- @ionic-native/base64@5.35.0
±- @ionic-native/call-number@5.35.0
±- @ionic-native/camera@5.35.0
±- @ionic-native/fcm@5.35.0
±- @ionic-native/file-chooser@5.35.0
±- @ionic-native/file-path@5.35.0
±- @ionic-native/file-transfer@5.35.0
±- @ionic-native/file@5.35.0
±- @ionic-native/firebase-authentication@5.35.0
±- @ionic-native/in-app-browser@5.35.0
±- @ionic-native/market@5.35.0
±- @ionic-native/photo-viewer@5.35.0
±- @ionic-native/social-sharing@5.35.0
±- @ionic-native/splash-screen@5.35.0
±- @ionic-native/status-bar@5.35.0
±- @ionic-native/streaming-media@5.35.0
±- @ionic-native/web-intent@5.35.0
±- @ionic/angular-toolkit@4.0.0
±- @ionic/angular@5.6.13
±- @ionic/storage-angular@3.0.6
±- @ionic/storage@2.0.0
±- @ngx-translate/core@13.0.0
±- @ngx-translate/http-loader@6.0.0
±- @types/jasmine@3.6.11
±- @types/jasminewd2@2.0.10
±- @types/node@12.20.19
±- @typescript-eslint/eslint-plugin@4.16.1
±- @typescript-eslint/parser@4.16.1
±- call-number@1.0.1
±- com-badrit-base64@0.2.0
±- com-darryncampbell-cordova-plugin-intent@2.0.0
±- com-sarriaroman-photoviewer@1.2.5
±- cordova-android@9.1.0
±- cordova-plugin-androidx-adapter@1.1.3
±- cordova-plugin-androidx@3.0.0
±- cordova-plugin-app-version@0.1.12
±- cordova-plugin-cache-clear@1.3.8
±- cordova-plugin-camera@5.0.3
±- cordova-plugin-device@2.0.2
±- cordova-plugin-fcm-with-dependecy-updated@7.8.0
±- cordova-plugin-file-transfer@1.7.1
±- cordova-plugin-file@6.0.2
±- cordova-plugin-filechooser@1.2.0
±- cordova-plugin-filepath@1.6.0
±- cordova-plugin-firebase-authentication@5.0.0
±- cordova-plugin-inappbrowser@5.0.0
±- cordova-plugin-ionic-keyboard@2.2.0
±- cordova-plugin-ionic-webview@4.2.1
±- cordova-plugin-market@1.2.0
±- cordova-plugin-splashscreen@5.0.2
±- cordova-plugin-statusbar@2.4.2
±- cordova-plugin-streaming-media@2.3.0
±- cordova-plugin-whitelist@1.3.3
±- cordova-plugin-x-socialsharing@6.0.3
±- cordova-sqlite-storage@6.0.0
±- cordova-support-android-plugin@1.0.2
±- es6-promise-plugin@4.2.2
±- eslint-plugin-import@2.22.1
±- eslint-plugin-jsdoc@30.7.6
±- eslint-plugin-prefer-arrow@1.2.2
±- eslint@7.32.0
±- firebase@8.9.0
±- jasmine-core@3.8.0
±- jasmine-spec-reporter@5.0.2
±- karma-chrome-launcher@3.1.0
±- karma-coverage-istanbul-reporter@3.0.3
±- karma-coverage@2.0.3
±- karma-jasmine-html-reporter@1.7.0
±- karma-jasmine@4.0.1
±- karma@6.3.4
±- localforage-cordovasqlitedriver@1.8.0
±- ngx-ionic-image-viewer@0.7.4
±- ngx-navigation-with-data@2.0.0
±- protractor@7.0.0
±- rxjs@6.6.7
±- ts-node@8.3.0
±- tslib@2.3.0
±- typescript@4.2.4
`-- zone.js@0.11.4

Ionic Info -:

Ionic:

Ionic CLI : 6.16.3 (C:\Users\User\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 5.6.13
@angular-devkit/build-angular : 12.1.4
@angular-devkit/schematics : 12.2.0
@angular/cli : 12.1.4
@ionic/angular-toolkit : 4.0.0

Cordova:

Cordova CLI : 10.0.0
Cordova Platforms : android 9.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 23 other plugins)

Utility:

cordova-res : 0.15.3
native-run : 1.1.0

System:

Android SDK Tools : 26.1.1 (C:\Users\User\AppData\Local\Android\Sdk)
NodeJS : v14.15.0 (C:\Program Files\nodejs\node.exe)
npm : 7.20.3
OS : Windows 10

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>