You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const article_extractor_1 = require("@extractus/article-extractor");
Error [ERR_REQUIRE_ESM]: require() of ES Module
** to a dynamic import() which is available in all CommonJS modules.
Is it possible to make the import available with require like the old article-parser library?
Thanks
Translated with DeepL.com (free version)
The text was updated successfully, but these errors were encountered:
Philrobots
changed the title
Is it possible to access the Require() Import ?
Is it possible to enable the Require() Import ?
May 9, 2024
Hello,
I have a typescript application and I use your tool. In my Typescript file, I import your library dynamically with the
import { extract } from “@extractus/article-extractor”;
But once the code compiles in Javascript, it converts to
const article_extractor_1 = require(“@extractus/article-extractor”);
And I get an error :
Is it possible to make the import available with require like the old
article-parser
library?Thanks
Translated with DeepL.com (free version)
The text was updated successfully, but these errors were encountered: