Skip to content

import of DataTableModule throwing an error #68

@bharukarupesh11

Description

@bharukarupesh11

Hi,
I've installed angular-4-data-table package and imported DataTableModule in app.module.ts imports section.

Import Statement:
import {DataTableModule} from 'angular-4-data-table';

When I run ng serve command I get the below error,
Error:
{project_path}\node_modules@angular\compiler-cli\ngcc\src\rendering\utils.js:23
return new imports_1.R3SymbolsImportRewriter(r3SymbolsFile.fileName);

TypeError: Cannot read property 'fileName' of null

If, I remove import statement of DataTableModule then project builds successfully..!!

Any fix please..??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions