Closed michalkvasnicak closed 1 week ago
Okay, i'm able to see the issue now locally.
I still see the error even if I build a dist
for ESM, so I will need to dig into some more. In the meantime you can use ogs.default();
to fix the issue.
Hello,
This should be fixed in open-graph-scraper@6.6.0
. I was able to get your code example working with my new build.
Closing this for now. Please open a new issue if you have any other problems.
Describe the bug
Package does not have correct typings. When you set typescript to
"module": "NodeNext", "moduleResolution": "NodeNext"
it fails to compile.To Reproduce Steps to reproduce the behavior:
https://stackblitz.com/edit/vitejs-vite-dj4sv9?file=src%2Findex.ts
Expected behavior
Should import the package without any issues.
Actual behavior
Fails with an error:
Additional context