AutoMapper icon indicating copy to clipboard operation
AutoMapper copied to clipboard

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

Open dantehemerson opened this issue 4 years ago • 3 comments

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.

dantehemerson avatar Sep 05 '19 02:09 dantehemerson

Did you solve the issue?

MuizMahdi avatar Jan 05 '20 11:01 MuizMahdi

@MuizMahdi Now, I'm using this fork library https://github.com/nartc/automapper-nartc

dantehemerson avatar Jan 12 '20 06:01 dantehemerson

Thank you!

MuizMahdi avatar Jan 17 '20 10:01 MuizMahdi