angular / angular/angularfire

sendEmailVerification() - Cannot assign to read only property '_canInitEmulator

オープン
#3,091 コメント 12 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
7.8k
フォーク
2.2k
平均マージ
22時間 28分
マージ済み PR(30日)
6

説明

Hi, I've spent so much time without finding the answer so I assume it could be a bug.
After creation of a new user by createUserWithEmailAndPassword() I'm calling current user from AngularFireAuth instance. Then I call sendEmailVerification() which causes an error:
```
TypeError: Cannot assign to read only property '_canInitEmulator' of object '[object Object]'
at index-839de510.js:937
at Generator.next ()
at asyncGeneratorStep (asyncToGenerator.js:3)
at _next (asyncToGenerator.js:25)
at asyncToGenerator.js:32
at new ZoneAwarePromise (zone.js:1387)
at asyncToGenerator.js:21
at _performFetchWithErrorHandling (index-839de510.js:936)
at index-839de510.js:913
at Generator.next ()
```
It happens for angular 12 and 13.
Angular: 13.1.0
Firebase: 9.4.0
Angularfire: 7.2.0

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず AngularFireAuth を通るフローを再現します。Angular 13.1.0、Firebase 9.4.0、AngularFire 7.2.0 で createUserWithEmailAndPassword() を呼び出し、その後 sendEmailVerification() を呼び出します。_performFetchWithErrorHandling を通るスタックトレースの経路を調査します。メール確認が読み取り専用の _canInitEmulator エラーなしで完了すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, firebase, typescript
領域
authentication
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。