Open yellooo opened 2 years ago
It works fine when i setting the buildOptimizer to false in the angular.json file.
But when the buildOptimizer it's set on true, i get this error:
ERROR in C:/Front/node_modules/ngx-virtual-scroller/fesm5/ngx-virtual-scroller.js Module build failed (from C:/Front/node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js): TypeError: Cannot read property 'kind' of undefined at isAngularDecoratorMetadataExpression (C:\Front\node_modules\@angular-devkit\build-angular\node_modules\@angular-devkit\build-optimizer\src\transforms\scrub-file.js:265:35)
I'm on Angular v7.1.1 and ngx-virtual-scroller v4.0.3
"devDependencies": { "@angular-devkit/build-angular": "0.13.10", "@angular-devkit/build-ng-packagr": "0.13.10", "@angular/cli": "7.3.10" }
Thanks for all
It works fine when i setting the buildOptimizer to false in the angular.json file.
But when the buildOptimizer it's set on true, i get this error:
ERROR in C:/Front/node_modules/ngx-virtual-scroller/fesm5/ngx-virtual-scroller.js Module build failed (from C:/Front/node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js): TypeError: Cannot read property 'kind' of undefined at isAngularDecoratorMetadataExpression (C:\Front\node_modules\@angular-devkit\build-angular\node_modules\@angular-devkit\build-optimizer\src\transforms\scrub-file.js:265:35)
I'm on Angular v7.1.1 and ngx-virtual-scroller v4.0.3
"devDependencies": { "@angular-devkit/build-angular": "0.13.10", "@angular-devkit/build-ng-packagr": "0.13.10", "@angular/cli": "7.3.10" }
Thanks for all