【发布时间】:2017-05-06 13:36:30
【问题描述】:
我在 firebase/auth.js 和 firebase/database.js 中有这个错误:
汇总:强烈建议不要使用 eval,因为它存在安全风险
这一定是firebase node_module中的错误!我不明白发生了什么。
当我删除 firebase.initializeApp(config)
时它正在工作但是,在上面添加时有同样的错误。
【问题讨论】:
-
没有错误,只有警告。似乎在一个节点包中,所以你无能为力
-
只要确保你的 firebase node_module 保持最新,他们可能会在以后的版本中解决这个问题(或已经有)
-
但这会导致浏览器控制台出错 - 并且项目无法运行。 auth.js:21 Uncaught SyntaxError: Unexpected identifier
-
浏览器控制台错误更新问题。
-
谁有解决方案??我无法运行 ionic serve!
标签: firebase ionic-framework firebase-realtime-database ionic2 firebase-authentication