I am trying to build for production but i am getting the following error:
WARNING in ./src/app/public/public.component.ngfactory.js
102:52-88 "export 'ɵangular_packages_forms_forms_bh' (imported as 'i20') was
not found in '@angular/forms'
WARNING in ./src/app/public/public.component.ngfactory.js
154:521-541 "export 'MAT_ICON_LOCATION' (imported as 'i9') was not found in
'@angular/material/icon'
WARNING in ./node_modules/@angular/material/dialog/typings/index.ngfactory.js
20:1261-1279 "export 'ScrollingModule' (imported as 'i7') was not found in '@angular/cdk/scrolling'
WARNING in ./node_modules/@angular/material/dialog/typings/index.ngfactory.js
20:1281-1299 "export 'ScrollingModule' (imported as 'i7') was not found in '@angular/cdk/scrolling'
WARNING in ./node_modules/@angular/material/grid- list/typings/index.ngfactory.js
20:234-240 "export 'ɵa8' (imported as 'i1') was not found in '@angular/material/grid-list'
WARNING in ./node_modules/@angular/material/icon/typings/index.ngfactory.js
20:327-347 "export 'MAT_ICON_LOCATION' (imported as 'i1') was not found in '@angular/material/icon'
WARNING in ./node_modules/@angular/material/bottom- sheet/typings/index.ngfactory.js
21:971-989 "export 'ScrollingModule' (imported as 'i7') was not found in '@angular/cdk/scrolling'
WARNING in ./node_modules/@angular/material/bottom- sheet/typings/index.ngfactory.js
21:991-1009 "export 'ScrollingModule' (imported as 'i7') was not found in '@angular/cdk/scrolling'
WARNING in ./node_modules/@angular/material/tooltip/typings/index.ngfactory.js9m
22:1368-1387 "export 'ScrollingModule' (imported as 'i11') was not found in '@angular/cdk/scrolling'
WARNING in ./node_modules/@angular/material/tooltip/typings/index.ngfactory.js
22:1389-1408 "export 'ScrollingModule' (imported as 'i11') was not found in '@angular/cdk/scrolling'
WARNING in ./node_modules/@angular/material/snack- bar/typings/index.ngfactory.js
23:928-946 "export 'ScrollingModule' (imported as 'i7') was not found in '@angular/cdk/scrolling'
WARNING in ./node_modules/@angular/material/snack- bar/typings/index.ngfactory.js
23:948-966 "export 'ScrollingModule' (imported as 'i7') was not found in '@angular/cdk/scrolling'
WARNING in ./node_modules/@angular/material/datepicker/typings/index.ngfactory.js
26:1830-1849 "export 'ScrollingModule' (imported as 'i13') was not found in '@angular/cdk/scrolling'
WARNING in ./node_modules/@angular/material/datepicker/typings/index.ngfactory.js
26:1851-1870 "export 'ScrollingModule' (imported as 'i13') was not found in '@angular/cdk/scrolling'
WARNING in ./node_modules/@angular/material/grid- list/typings/index.ngfactory.js
27:277-283 "export 'ɵa8' (imported as 'i1') was not found in '@angular/material/grid-list'
WARNING in ./src/app/public/public.component.ngfactory.js
50:523-543 "export 'MAT_ICON_LOCATION' (imported as 'i9') was not found in '@angular/material/icon'
WARNING in ./src/app/public/public.component.ngfactory.js
88:1060-1067 "export 'ɵa8' (imported as 'i16') was not found in '@angular/material/grid-list'
WARNING in ./src/app/public/public.component.ngfactory.js
88:1499-1506 "export 'ɵa8' (imported as 'i16') was not found in '@angular/material/grid-list'
WARNING in ./src/app/public/public.component.ngfactory.js
88:1888-1895 "export 'ɵa8' (imported as 'i16') was not found in '@angular/material/grid-list'
WARNING in ./src/app/public/public.component.ngfactory.js
88:749-756 "export 'ɵa8' (imported as 'i16') was not found in '@angular/material/grid-list'
WARNING in ./src/app/app.module.ngfactory.js
89:11752-11771 "export 'ScrollingModule' (imported as 'i48') was not found in '@angular/cdk/scrolling'
WARNING in ./src/app/app.module.ngfactory.js
89:11773-11792 "export 'ScrollingModule' (imported as 'i48') was not found in '@angular/cdk/scrolling'
WARNING in ./src/app/app.module.ngfactory.js
89:4989-4997 "export 'ɵd22' (imported as 'i29') was not found in '@angular/material/menu'
WARNING in ./src/app/app.module.ngfactory.js
89:5579-5616 "export 'MAT_STEPPER_INTL_PROVIDER_FACTORY' (imported as 'i35') was not found in '@angular/material/stepper'
I tried to solve running npm and each of the occurencies but no success.
I looked up in angular groups and forums but it seems that this problem is kind recent
but even with this error, the production code is generated in dist/ folder.
Then, when i do a firebase deploy
the uploaded website is crashed.
IMPORTANT: When i serve with ng serve
everything works perfectly
Comments
Post a Comment