-
-
Notifications
You must be signed in to change notification settings - Fork 53
"cdk-table-exporter" warning with "xlsx" #133
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
Comments
Same with Angular 13 and mat-table-exporter 10.2.4 |
You can silence this warning by adding the following to your angular.json file under "builder": "@angular-devkit/build-angular:browser": "allowedCommonJsDependencies": [ |
This is an unavoidable warning for now. Thanks, @CamClark1995, for sharing how to silence the warning. |
Hi, to fix the snyk issue in mat table exporter package due to the xlsx dependency,I have published two packages to replacing mat table exporter and cdk table exporter(copied from these two and changed names), and added @e965/xlsx as a dependency for cdk table exporter. But the compilation is failing by throwing the below issues. ./node_modules/config-table-exporter/fesm2020/cdk-table-exporter.mjs:130:21-54 - Error: Module not found: Error: Can't resolve 'xlsx/dist/xlsx.mini.min' in 'D:\Projects\Config Hub\ba-configHub-UI\Config-Hub-Main\node_modules\config-table-exporter\fesm2020' ./node_modules/config-table-exporter/fesm2020/cdk-table-exporter.mjs:132:21-35 - Error: Module not found: Error: Can't resolve 'xlsx' in 'D:\Projects\Config Hub\ba-configHub-UI\Config-Hub-Main\node_modules\config-table-exporter\fesm2020' Adding the packages below for reference any help would be appreciated. |
I am using Angular 12 and mat-table-exporter 10.2.3.
The text was updated successfully, but these errors were encountered: