question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Toast_Host.ngfactory.js? [sm]:1 ERROR TypeError: this._driver.validateStyleProperty is not a function

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
jwoods1commented, Jul 3, 2018

Running an update fixed my issues.

$ ng update @angular/cli $ ng update @angular/core $ ng update @angular/animations

3reactions
originAsadcommented, Jul 5, 2018

Love you jwoods1 thanks bro a lot

Read more comments on GitHub >

github_iconTop Results From Across the Web

I got _this._driver.validateStyleProperty is not a function
After so many googling and RND, I have tried changing the version of Angular Animations and Angular Material. But it doesn't work for...
Read more >
Using stepper throws an exception "ERROR TypeError: _this ...
Bug, feature request, or proposal: I am using angular 6, I installd the material and ... validateStyleProperty is not a function at browser.js:844...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found