I have this error in firebase/auth.js and firebase/database.js:
rollup: Use of eval is strongly discouraged, as it posses security risks
This must be error in firebase node_module! I can’t understand what’s going on.
It’s working When I remove firebase.initializeApp(config)
But, having same error on adding above.
Using Firebase v3 in Ionic2 Via NPM is not working at all!! Had lot’s of problems in their node module.
So, I found a solution.. follow the link below, where discussion has been made for similar problem.
And here is the direct link of solution ..
Simply, do not use Firebase v3 in Ionic2 Via NPM, unless they fix problems in their firebase node module.
Answered By – Ankit Maheshwari