1👍
✅
I believe the problem is with how you are importing FireBase
import firebase from 'firebase/app'
As from the documentation on NPM website
If you are using native ES6 module with –experimental-modules flag, you should do:
import firebase from 'firebase/app';
Otherwise you should be importing like this
const firebase = require('firebase');
Source:stackexchange.com