Angular / flex-layout beta8 gets TypeError: _this._renderer.setStyle is not a function

The code worked fine on @ angular / flex-layout@2.0.0-beta.7

Just updated to @ angular / flex-layout@2.0.0-beta.8 got this error.

TypeError: _this._renderer.setStyle is not a function

      

If I ignore it, then the console throws a second error saying

Uncaught (in promise): Error: Cannot activate an already activated outlet 

      

version of other modules:

  • @ angular / core@4.0.3
  • @ angular / materail@2.0.0-beta.2

What happened? How can I solve the problem?

+3


source to share


2 answers


Looks like a bug with angular DI, not this module. I would recommend making a minimal plunker that reproduces your problem and posts it to angular.



+1


source


fixed bug in @ angular / flex-layout@2.0.0-beta.8 on pull request # 298 https://github.com/angular/flex-layout/pull/298



+1


source







All Articles