New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
got error in prod build #49
Comments
Sorry for the late reply, |
i got error too while build in prod Directive CdkTableExporter in E:/Angular/myproject/node_modules/cdk-table-exporter/cdk-table-exporter.d.ts has no selector, please add it! |
If you are not using cdk-table-exporter specifically you shouldn't have it as a dependency. |
yes it work, i uninstall mat-table exporter and uninstall cdk-table-exporter. than i install using npm install --save mat-table-exporter@1.2.5. and it works, thanks bro |
OK you found the solution, I missed you used Angular 8. Any version below 9 should use @1.2.5. So anyone having this issue should check the Angular version and if it is not Angular 9, mat-table-exporter@1.2.5 is the way to go. |
{ |
sorry for late |
No problem @pongsathornp35room , what you posted is not package.json, could you please post it, or if you can tell what's your angular version that is also fine. |
|
sorry HalitTalha my bad |
ERROR in : Directive _MatOptionBase in /Users/content/Documents/work/final_youpoach/youpoach_test/node_modules/@angular/material/core/index.d.ts has no selector, please add it! |
what could be possibly wrong in my case... |
i got error while build in prod
ERROR in Directive CdkTableExporter in C:/Users/...../node_modules/cdk-table-exporter/cdk-table-exporter.d.ts has no selector, please add it! Can't resolve all parameters for CdkTableExporter in C:/Users/...../node_modules/cdk-table-exporter/cdk-table-exporter.d.ts: ([object Object], [object Object], [object Object], ?). Cannot determine the module for class CdkTableExporter in C:/Users/..../node_modules/cdk-table-exporter/cdk-table-exporter.d.ts! Add CdkTableExporter to the NgModule to fix it.
how to fix it.
thank you
The text was updated successfully, but these errors were encountered: