Error with Facebook Native API


#1

This is the error which i am getting after integrating Facebook Native API in my App:
Module '"C:/Users/BhatRitesh/Desktop/Think-Digital/facebookAuth/node_modules/@ionic-native/core/index"' has no exported member 'IonicNativePlugin'.

can anyone help me with this…i am getting this error for the third time now…
@luukschoen hope you can help :innocent:

this is the screenshot when i try ionic serve.


#2

install native core
npm install @ionic-native/core --save


#3

just found the solution…
In case someone is facing same issue… :smile:

npm uninstall --save @ionic-native/core
npm install --save @ionic-native/core@latest

this will update to ionic native core 3.6.x


#4

This error is caused by a mismatch between the plugin installed and the ionic-native core package. Make sure you keep those versions matched up ;). Glad you find the solution on your own.