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. https://forum.ionicframework.com/t/is-it-possible-to-use-firebase-v3-in-ionic-2/54387
And here is the direct link of solution.. https://github.com/aaronksaunders/ionic2firebase3
Simply, do not use Firebase v3 in Ionic2 Via NPM, unless they fix problems in their firebase node module.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.