Open vishal-variyani opened 4 years ago
@vishal-variyani , I have the same issue. Did you manage it? I am in angular 8 and downgrade this package to 8.0.1 and it's working with this version.
Hi! Same here, did you find any solution?
Same here, any solution to it or workaround?
I am also getting this in Angular 8. Disabling the build optimizer in angular.json worked as a temporary workaround. Downgrading to 8.0.1 also worked, even with build optimizer remaining enabled.
According to https://stackoverflow.com/questions/58694820/cannot-read-property-kind-of-undefined, the solution looks pretty simple? But requires changing tsconfig.json.
Same problem here
The problem still exists
I am getting this error when I try to create a production build.:
ERROR in ./node_modules/saturn-datepicker/fesm2015/saturn-datepicker.js Module build failed (from ./node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js): TypeError: Cannot read property 'kind' of undefined at isAngularDecoratorMetadataExpression (/home/codal/projects/altumai-fe/node_modules/@angular-devkit/build-optimizer/src/transforms/scrub-file.js:230:35) at checkNodeForDecorators (/home/codal/projects/altumai-fe/node_modules/@angular-devkit/build-optimizer/src/transforms/scrub-file.js:53:21)