【发布时间】:2018-03-16 01:38:18
【问题描述】:
我在构建管道 (wercker) 上遇到了一堆错误,但是当我进行 firebase 部署时,它在我的本地环境中运行良好
不确定这是否与 angualarfire2 版本不匹配有关?
ERROR in /pipeline/source/node_modules/angularfire2/database/firebase_list_observable.d.ts (14,62): Namespace 'firebase' has no exported member 'Promise'.
ERROR in /pipeline/source/node_modules/angularfire2/app/firebase.app.module.d.ts (12,28): Namespace 'firebase' has no exported member 'Promise'.
ERROR in /pipeline/source/node_modules/angularfire2/interfaces.d.ts (13,35): Namespace 'firebase' has no exported member 'Promise'.
ERROR in /pipeline/source/node_modules/angularfire2/interfaces.d.ts (14,35): Namespace 'firebase' has no exported member 'Promise'.
ERROR in /pipeline/source/node_modules/angularfire2/interfaces.d.ts (15,44): Namespace 'firebase' has no exported member 'Promise'.
ERROR in /pipeline/source/node_modules/angularfire2/interfaces.d.ts (12,32): Namespace 'firebase' has no exported member 'Promise'.
ERROR in /pipeline/source/node_modules/angularfire2/database/firebase_list_observable.d.ts (15,48): Namespace 'firebase' has no exported member 'Promise'.
ERROR in /pipeline/source/node_modules/angularfire2/database/firebase_list_observable.d.ts (16,92): Namespace 'firebase' has no exported member 'Promise'.
ERROR in /pipeline/source/node_modules/angularfire2/database/firebase_object_observable.d.ts (11,31): Namespace 'firebase' has no exported member 'Promise'.
ERROR in /pipeline/source/node_modules/angularfire2/database/firebase_object_observable.d.ts (12,37): Namespace 'firebase' has no exported member 'Promise'.
ERROR in /pipeline/source/node_modules/angularfire2/database/firebase_object_observable.d.ts (13,24): Namespace 'firebase' has no exported member 'Promise'.
【问题讨论】:
标签: angularjs firebase angularfire2