No "exports" main defined in node_modules/got-scraping/package.json #127
-
I'm trying to use got-scraping in a project. I have it imported asynchronously as specified in the README, however when I run my code, I get the following output.
Research led me to this discussion which had the same issue I'm having, but unlike that user, I cannot migrate to ESM. What could I be doing wrong that would be causing this issue? Here is a minimal reproducible example to illustrate the issue I'm having. |
Beta Was this translation helpful? Give feedback.
Answered by
Battlesquid
Jan 15, 2024
Replies: 1 comment
-
Solved the issue, changing the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Battlesquid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved the issue, changing the
module
value intsconfig.json
toNode16
was the solution.