You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
Production build should work normally like in dev mode.
What is the current behavior?
Runtime error:
ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError(AppModule)[DefaultFlexAlignDirective -> StyleUtils]:
StaticInjectorError(Platform: core)[DefaultFlexAlignDirective -> StyleUtils]:
NullInjectorError: No provider for StyleUtils!
NullInjectorError: StaticInjectorError(AppModule)[DefaultFlexAlignDirective -> StyleUtils]:
StaticInjectorError(Platform: core)[DefaultFlexAlignDirective -> StyleUtils]:
NullInjectorError: No provider for StyleUtils!
at NullInjector.get (vendor-es2015.c5603c4025760f603c32.js:34736)
at resolveToken (vendor-es2015.c5603c4025760f603c32.js:36499)
at tryResolveToken (vendor-es2015.c5603c4025760f603c32.js:36425)
at StaticInjector.get (vendor-es2015.c5603c4025760f603c32.js:36288)
at resolveToken (vendor-es2015.c5603c4025760f603c32.js:36499)
at tryResolveToken (vendor-es2015.c5603c4025760f603c32.js:36425)
at StaticInjector.get (vendor-es2015.c5603c4025760f603c32.js:36288)
at resolveNgModuleDep (vendor-es2015.c5603c4025760f603c32.js:60840)
at NgModuleRef_.get (vendor-es2015.c5603c4025760f603c32.js:61926)
at resolveDep (vendor-es2015.c5603c4025760f603c32.js:62453)
at resolvePromise (polyfills-es2015.e308c8d63d076a2403a3.js:1085)
at resolvePromise (polyfills-es2015.e308c8d63d076a2403a3.js:1042)
at polyfills-es2015.e308c8d63d076a2403a3.js:1146
at ZoneDelegate.invokeTask (polyfills-es2015.e308c8d63d076a2403a3.js:680)
at Object.onInvokeTask (vendor-es2015.c5603c4025760f603c32.js:68615)
at ZoneDelegate.invokeTask (polyfills-es2015.e308c8d63d076a2403a3.js:679)
at Zone.runTask (polyfills-es2015.e308c8d63d076a2403a3.js:455)
at drainMicroTaskQueue (polyfills-es2015.e308c8d63d076a2403a3.js:848)
at ZoneTask.invokeTask [as invoke] (polyfills-es2015.e308c8d63d076a2403a3.js:758)
at invokeTask (polyfills-es2015.e308c8d63d076a2403a3.js:1889)
import { BaseDirective2, MediaChange, MediaMarshaller, StyleBuilder, StyleUtils } from '@angular/flex-layout';
I am also getting same issue. looking forward to test with updated flex-layout with latest Angular
core.js.pre-build-optimizer.js:4799 ERROR Error: NullInjectorError: No provider for StyleUtils!
at NullInjector.get (core.js.pre-build-optimizer.js:779)
at resolveToken (core.js.pre-build-optimizer.js:14644)
at tryResolveToken (core.js.pre-build-optimizer.js:14570)
at StaticInjector.get (core.js.pre-build-optimizer.js:14433)
at resolveToken (core.js.pre-build-optimizer.js:14644)
at tryResolveToken (core.js.pre-build-optimizer.js:14570)
at StaticInjector.get (core.js.pre-build-optimizer.js:14433)
at resolveNgModuleDep (core.js.pre-build-optimizer.js:24920)
at NgModuleRef_.get (core.js.pre-build-optimizer.js:25979)
at resolveDep (core.js.pre-build-optimizer.js:26509)
Bug Report
What is the expected behavior?
Production build should work normally like in dev mode.
What is the current behavior?
Runtime error:
What are the steps to reproduce?
Everything is explained here: angular/angular-cli#15145
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: