5

David Easts TODO Angular2 デモを Firebase に接続しようとすると、エラーが発生します。

最大呼び出しスタック サイズを超えました

リポジトリはここにあります: https://github.com/davideast/ng2do

私が別の方法で行ったのは、bind、AngularFire、および FirebaseArray をインポートすることだけです。

import {bind} from 'angular2/di';
import {AngularFire, FirebaseArray} from 'firebase/AngularFire';

componentServices を登録します。

@Component({
  selector: 'todo-app',
  componentServices: [
    AngularFire,
    bind(Firebase).toValue(new Firebase('https://webapi.firebaseio-demo.com/test'))
  ]
})

これにより、エラーが発生します。

最大呼び出しスタック サイズ超過エラー。

4

0 に答える 0