Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin not working on Ionic 5 #4

Open
louis123562 opened this issue Oct 2, 2021 · 0 comments
Open

Plugin not working on Ionic 5 #4

louis123562 opened this issue Oct 2, 2021 · 0 comments

Comments

@louis123562
Copy link

louis123562 commented Oct 2, 2021

Hello,

i am trying to use this plugin on ionic 5, but it gives me the following error:

./node_modules/ionic-plugin-navigation-bar-color/index.js:75:8-15 - Error: export 'Cordova' (imported as 'Cordova') was not found in '@ionic-native/core' (possible exports: IonicNativePlugin, checkAvailability, cordova, cordovaFunctionOverride, cordovaInstance, cordovaPropertyGet, cordovaPropertySet, getPromise, instanceAvailability, instancePropertyGet, instancePropertySet, wrap)

./node_modules/ionic-plugin-navigation-bar-color/index.js:104:8-14 - Error: export 'Plugin' (imported as 'Plugin') was not found in '@ionic-native/core' (possible exports: IonicNativePlugin, checkAvailability, cordova, cordovaFunctionOverride, cordovaInstance, cordovaPropertyGet, cordovaPropertySet, getPromise, instanceAvailability, instancePropertyGet, instancePropertySet, wrap)

Can you fix the imports?

I am using "@ionic-native/core": "^5.36.0", it is the latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant