This repository has been archived by the owner on Sep 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
Build fails while running command : 'ng build --prod' #138
Comments
@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 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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)
The text was updated successfully, but these errors were encountered: