Здесь проблема показана в 3-й строке:
login(myForm1) {
if(myForm1.valid) {
this.af.auth.signInWithEmailAndPassword({
email: this.email,
password: this.password
}).then(
(success)=>{
this.router.navigate(['/blog']);
}).catch(
(err)=>{
this.error=err;
})
}
}
Так, как я могу решить это? Я ищу здесь и там, но я не понимаю правильно.