Reputation: 182
I am trying to add Firebase in my ionic2 project from: https://ionicframework.com/docs/v2/native/firebase/
After installing, I got this error:
/myApp2/node_modules/ionic-native/dist/es5/index"' has no exported member 'Firebase'.
L9: import { Firebase } from 'ionic-native';
Anyone has solution for this?
Upvotes: 3
Views: 2133
Reputation: 215
I think it's firebase versioning problem . If you use 4.5.0 version try to downgrade your version , I downgraded from firebase 4.5.0 to 4.3.0 . so resolved.
Upvotes: 0
Reputation: 1852
ionic-native does not have firebase in it. firebase should be available globally once you install the plugin.
Upvotes: 0