0
votes

I installed flex layout using "npm install @angular/flex-layout".

After installation, I get this typescript error message.

"node_modules/@angular/core/index"' has no exported member 'Renderer2'." "node_modules/@angular/core/index"' has no exported member 'InjectionToken'."

I am using Angular Core: 2.4.10 version and Node: 7.5.0 version.

Screenshot: Screenshot

1

1 Answers

-1
votes

The latest version "@angular/[email protected]" is not supported in angular 2.4.10. I installed @angular/[email protected] and it worked. Please refer the change log here https://github.com/angular/flex-layout-builds/blob/master/CHANGELOG.md