Alex
Alex

Reputation: 397

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

Code was working fine on @angular/[email protected]

Just upgraded to @angular/[email protected] got this error.

TypeError: _this._renderer.setStyle is not a function

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

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

version of other modules:

What's wrong? How should I tackle the problem?

Upvotes: 4

Views: 521

Answers (2)

Alex
Alex

Reputation: 397

bug fixed in @angular/[email protected] via pull request #298 https://github.com/angular/flex-layout/pull/298

Upvotes: 1

Tobias Etter
Tobias Etter

Reputation: 774

It seems like a bug with angular's DI, rather than this module specifically. I'd recommend making a minimal plunker that reproduces your issue and posting it on the angular issue tracker.

Upvotes: 1

Related Questions