Comments (4)
@ndaidong Yep, I've tried it. Maybe it's stuck with tsconfig at all.
![image](https://private-user-images.githubusercontent.com/110159355/295505298-4709b33b-41b1-43e7-93d2-2fb7ea49a431.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4NzY5MzMsIm5iZiI6MTcxODg3NjYzMywicGF0aCI6Ii8xMTAxNTkzNTUvMjk1NTA1Mjk4LTQ3MDliMzNiLTQxYjEtNDNlNy05M2QyLTJmYjdlYTQ5YTQzMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMFQwOTQzNTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04NTIxMTc4MTllMDk4NzA1ODMxYjdkYmU0NmVhYTQ2N2VkMzhmOTZiM2RlYTdlNmVjMDljM2ViZDA2NmFkMTcxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.9xX2N1fTKesuMfkE6Y9vss95DcJwPf4ZMfBZwMs7ABs)
Thank's you
from article-extractor.
@ivkoandrv there is an example that works with Node.js / Typescript. I found that the most difference is module
in TS config file. Could you try to change from "commonjs" to "es6"?
from article-extractor.
@ivkoandrv please try to run the example in your own environment to see if it works as expected. Then replace your project tsconfig file with the example config to verify if it's really the cause.
from article-extractor.
@ndaidong Yeah, example works perfect. I'll change my configuration
from article-extractor.
Related Issues (20)
- Crashing on start with npm run dev HOT 6
- Error [ERR_REQUIRE_ESM]: require() of ES Module >=7.3.0 HOT 2
- How to set the rule of extracting picture when the default extraction algorithm can't get it? HOT 1
- Can't run the lib with J
- Can't run using JEST HOT 3
- Some url do not work HOT 2
- Error [ERR_REQUIRE_ESM]: require() of ES Module >=8.0.2 HOT 3
- Incorrect resolution when there are multiple Open Graph tags HOT 3
- Node example works but deno don't on a specific site HOT 2
- Can i use with utf 8 ? HOT 1
- Specific site work with deno but not node HOT 7
- Feat: extract pagetype from og:type or ld+json HOT 3
- Expected ',' or '}' after property value in JSON at position 543 (line 23 column 7) HOT 4
- Crashes on Pinterest and a lot of other websites HOT 16
- @extractus/article-extractor 8.0.6 isn't compatible with Google Cloud Functions HOT 5
- Encoding windows-1250 not properly decoded! HOT 4
- img tag with "data" protocol was removed when doing purify HOT 3
- Using Playwright or Pupperteer do not work for me with extractFromHtml() HOT 1
- Is it possible to enable the Require() Import ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from article-extractor.