Angular-4-DataTable

when i try to import angular-4-data-table in app.module.ts I am getting this error

./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Emit attempted before Angular Webpack plugin initialization.

Error: Failed to initialize Angular compilation - Cannot read properties of null (reading ‘fileName’)