Toast_Host.ngfactory.js? [sm]:1 ERROR TypeError: this._driver.validateStyleProperty is not a function
at Object.keys.forEach.prop (browser.js:1057)
at Array.forEach (<anonymous>)
at ast.styles.forEach.tuple (browser.js:1056)
at Array.forEach (<anonymous>)
at AnimationAstBuilderVisitor._validateStyleAst (browser.js:1053)
at AnimationAstBuilderVisitor.visitStyle (browser.js:984)
at AnimationAstBuilderVisitor.visitState (browser.js:859)
at name.toString.split.forEach.n (browser.js:833)
at Array.forEach (<anonymous>)
at metadata.definitions.forEach.def (browser.js:831)
I already installed ngx-toastr and @angular/animations. I added ToastrModule to import. Any ideas what is wrong?
maybe the same thing happening here https://github.com/angular/material2/issues/11875
same problem with me
Running an update fixed my issues.
$ ng update @angular/cli
$ ng update @angular/core
$ ng update @angular/animations
I had the same problem, but the jwoods1 tip helped to solve this error.
Love you jwoods1 thanks bro a lot
Most helpful comment
Running an update fixed my issues.
$ ng update @angular/cli
$ ng update @angular/core
$ ng update @angular/animations