Skip to content

Error importing Automapper: automapper.d.ts is not a module #62

@dantehemerson

Description

@dantehemerson

I'm importing automapper:
Screenshot from 2019-09-04 21-26-58

and I got the next error:
automapper.d.ts' is not a module

9:26:40 PM - File change detected. Starting incremental compilation...
[1] 
[1] src/shared/base.service.ts(3,43): error TS2306: File 
'/home/dantehemerson/Documents/labs2/unnamed-project/api/node_modules/automapper-
ts/dist/automapper.d.ts' is not a module.
[1] 
[1] 9:26:40 PM - Found 1 error. Watching for file changes.

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