Closed vslzl closed 5 years ago
Can you upgrade to Flex Layout v8? We don't have LTS for v7, and I don't have any reports of this for latest (and it's not breaking CI). We'd be happy to investigate if this is broken in latest.
Can you upgrade to Flex Layout v8? We don't have LTS for v7, and I don't have any reports of this for latest (and it's not breaking CI). We'd be happy to investigate if this is broken in latest.
I'm using trilon.io 's angular and asp.net core template (repo here) with flex layout added, if you like to see what's going on. Angular version is same as their repo, here is part of packages.json:
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/cdk": "^7.3.7",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/flex-layout": "^8.0.0-beta.26",
"@angular/forms": "~7.2.0",
"@angular/http": "~7.2.0",
"@angular/material": "^7.3.7",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/platform-server": "~7.2.0",
"@angular/router": "~7.2.0",
"@nguniversal/aspnetcore-engine": "^7.1.0",
"@nguniversal/common": "^7.1.0",
.
.
.
}
for issue: after updates: I'm getting error:
An unhandled exception was thrown by the application.
Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException: Prerendering failed because of error: TypeError: Object(...) is not a function
at eval (webpack-internal:///./node_modules/@angular/flex-layout/esm5/core.es5.js:254:128)
at eval (webpack-internal:///./node_modules/@angular/flex-layout/esm5/core.es5.js:256:2)
at Module../node_modules/@angular/flex-layout/esm5/core.es5.js (/Development/Core/xxx.Web.Application/xxx.Web.Application/ClientApp/dist/main-server.js:1214:1)
at __webpack_require__ (/Development/Core/xxx.Web.Application/xxx.Web.Application/ClientApp/dist/main-server.js:20:30)
at eval (webpack-internal:///./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js:7:83)
at Module../node_modules/@angular/flex-layout/esm5/flex-layout.es5.js (/Development/Core/xxx.Web.Application/xxx.Web.Application/ClientApp/dist/main-server.js:1238:1)
at __webpack_require__ (/Development/Core/xxx.Web.Application/xxx.Web.Application/ClientApp/dist/main-server.js:20:30)
at eval (webpack-internal:///./ClientApp/app/app.module.ts:14:79)
at Module../ClientApp/app/app.module.ts (/Development/Core/xxx.Web.Application/xxx.Web.Application/ClientApp/dist/main-server.js:167:1)
at __webpack_require__ (/Development/Core/xxx.Web.Application/xxx.Web.Application/ClientApp/dist/main-server.js:20:30)
Current directory is: /Development/Core/xxx.Web.Application/xxx.Web.Application
at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance.InvokeExportAsync[T](NodeInvocationInfo invocationInfo, CancellationToken cancellationToken)
at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.InvokeExportAsync[T](CancellationToken cancellationToken, String moduleName, String exportNameOrNull, Object[] args)
at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.InvokeExportWithPossibleRetryAsync[T](String moduleName, String exportedFunctionName, Object[] args, Boolean allowRetry, CancellationToken cancellationToken)
at ...
Also has some warnings:
2019-07-09 15:24:09.6740 Microsoft.AspNetCore.NodeServices [33m⚠[39m [90m「wdm」[39m: Hash: ad95fa0e933ba11d6bda Version: webpack 4.35.2 Time: 28054ms Built at: 07/09/2019 3:24:09 PM Asset Size Chunks Chunk Names main-client.js 11.3 MiB main-client [emitted] main-client main-client.js.map 30 KiB main-client [emitted] main-client Entrypoint main-client = main-client.js main-client.js.map
WARNING in ./node_modules/@angular/flex-layout/esm5/extended.es5.js 244:16-28 "export 'ɵNgClassImpl' was not found in '@angular/common' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/extended.es5.js 263:13-25 "export 'ɵNgClassImpl' was not found in '@angular/common' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/extended.es5.js 264:14-28 "export 'ɵNgClassR2Impl' was not found in '@angular/common' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/extended.es5.js 840:13-25 "export 'ɵNgStyleImpl' was not found in '@angular/common' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/extended.es5.js 820:16-28 "export 'ɵNgStyleImpl' was not found in '@angular/common' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/extended.es5.js 841:14-28 "export 'ɵNgStyleR2Impl' was not found in '@angular/common' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/extended.es5.js 39:60-78 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 2256:51-69 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/grid.es5.js 744:62-80 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/grid.es5.js 613:62-80 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 2695:55-73 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/grid.es5.js 521:62-80 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/grid.es5.js 358:67-85 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/grid.es5.js 173:70-88 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 3113:54-72 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/grid.es5.js 40:63-81 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/flex.es5.js 1561:65-83 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/flex.es5.js 1435:62-80 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/flex.es5.js 1350:63-81 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/flex.es5.js 1193:64-82 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 3525:52-70 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/flex.es5.js 1099:63-81 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/flex.es5.js 876:58-76 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/flex.es5.js 280:63-81 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/flex.es5.js 145:60-78 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 4209:57-75 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 217:55-73 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/grid.es5.js 1213:61-79 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 1398:52-70 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 1168:60-78 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/grid.es5.js 1091:61-79 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/grid.es5.js 964:65-83 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/grid.es5.js 865:64-82 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/extended.es5.js 311:62-80 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/grid.es5.js 1312:62-80 "export 'ɵɵdefineInjectable' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 4209:203-211 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 4209:151-159 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 3525:214-222 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 3525:191-199 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/flex.es5.js 280:169-177 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 3525:164-172 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/flex.es5.js 876:154-162 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 3525:136-144 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 3113:242-250 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 3113:219-227 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 3113:194-202 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 4209:173-181 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 3113:142-150 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 2695:197-205 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 2695:175-183 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 2695:145-153 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 2256:163-171 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 2256:133-141 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 1398:177-185 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 1398:154-162 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 1398:136-144 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 1168:160-168 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
WARNING in ./node_modules/@angular/flex-layout/esm5/core.es5.js 3113:172-180 "export 'ɵɵinject' was not found in '@angular/core' @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js @ ./ClientApp/app/app.module.ts @ ./ClientApp/app/app.module.browser.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=dist%2F&dynamicPublicPath=true ./ClientApp/boot.browser.ts
We also had this error. https://github.com/angular/flex-layout/pull/1087 is solving this problem. This pr is not released yet so we are using a build from master.
This has been resolved in the latest beta.
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.
I'm using FlexLayout with my asp.net core / angular with server side rendering.
I'm having the issue with prerendered result of my web page, Flex layout doesn't renders anything when page first appears. then it renders. but the issue is, when I reload the page it deads forever. never renders the elements.
I'm having the error on my console:
Microsoft.AspNetCore.NodeServices[0] Ignoring BEFORE_APP_SERIALIZED Exception: TypeError: Cannot read property 'registry' of undefined at ServerMatchMedia.activateBreakpoint (webpack-internal:///./node_modules/@angular/flex-layout/esm5/server.es5.js:229:55) at Array.forEach ()
at generateStaticFlexLayoutStyles (webpack-internal:///./node_modules/@angular/flex-layout/esm5/server.es5.js:329:14)
at eval (webpack-internal:///./node_modules/@angular/flex-layout/esm5/server.es5.js:348:25)
at eval (webpack-internal:///./nodemodules/@nguniversal/aspnetcore-engine/fesm5/aspnetcore-engine.js:80:29)
at ZoneDelegate.invoke (webpack://%5Bname%5D%5Bhash%5D/./nodemodules/zone.js/dist/zone-node.js?:390:26)
at Zone.run (webpack://%5Bname%5D%5Bhash%5D/./nodemodules/zone.js/dist/zone-node.js?:149:43)
at eval (webpack://%5Bname%5D%5Bhash%5D/./nodemodules/zone.js/dist/zone-node.js?:888:34)
at ZoneDelegate.invokeTask (webpack://%5Bname%5D%5Bhash%5D/./nodemodules/zone.js/dist/zone-node.js?:422:31)
at Zone.runTask (webpack://%5Bname%5D%5Bhash%5D/./node_modules/zone.js/dist/zone-node.js?:194:47)