Closed avifatal closed 1 year ago
@avifatal do you specify "type": "module"
in the package.json file?
@ndaidong I dont have that. thanks.
@avifatal yes, maybe that's the cause. Please try again with "type": "module"
added to enable ESM import/export syntax.
Hi Im on a nestjs project. this is how I import the file:
import { ArticleData, extract } from '@extractus/article-extractor';
I get the error:Thanks!