Flex-layout: Has no exported member 'ɵNgStyleImpl'. Did you mean 'ɵNgStyleR2Impl Angular rc.11

Created on 27 Jan 2020  ·  5Comments  ·  Source: angular/flex-layout

Bug Report

Should not break the build

What is the current behavior?

ng build error:

ERROR in node_modules/@angular/flex-layout/extended/typings/style/style.d.ts:9:19 - error TS2724: Module '"../../../../common/common"' has no exported member 'ɵNgStyleImpl'. Did you mean 'ɵNgStyleR2Impl'?

9 import { NgStyle, ɵNgStyleImpl, ɵNgStyleR2Impl } from '@angular/common';

What are the steps to reproduce?

Add flex-layout to angular rc.11 project
run ng build

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular CLI: 9.0.0-rc.10
Node: 12.13.1
OS: darwin x64

Angular: 9.0.0-rc.11
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router
Ivy Workspace: Yes

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.803.23
@angular-devkit/build-angular      0.900.0-rc.10
@angular-devkit/build-ng-packagr   0.900.0-rc.10
@angular-devkit/build-optimizer    0.900.0-rc.10
@angular-devkit/build-webpack      0.900.0-rc.10
@angular-devkit/core               9.0.0-rc.10
@angular-devkit/schematics         8.3.22
@angular/cdk                       9.0.0-rc.8
@angular/cli                       9.0.0-rc.10
@angular/flex-layout               8.0.0-beta.27
@angular/material                  9.0.0-rc.8
@ngtools/webpack                   9.0.0-rc.10
@nguniversal/builders              9.0.0-rc.1
@nguniversal/common                9.0.0-rc.1
@nguniversal/express-engine        9.0.0-rc.1
@schematics/angular                8.3.22
@schematics/update                 0.900.0-rc.10
ng-packagr                         9.0.0-rc.7
rxjs                               6.5.4
typescript                         3.6.4
webpack                            4.41.2

All 5 comments

Fixed by #1177

@CaerusKaru great, i c. Are you planing an rc release soon?

Great, fixed!

TL;TR yarn add angular/flex-layout-builds as per https://github.com/angular/flex-layout/wiki/NPM-Installs#install-from-nightly-build-head

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings