Closed r-erd closed 2 months ago
What sample code ? , It's ESM only lib .. do you have type: module in package json of your project or similar can be achieved by renaming the .js file to .mjs
EDIT: The issue existed because i never tested with node as i was using bun which resolved the cheerio import automatically
Thanks for the issue, should be resolved now with commit (07f914b273da633c6357f3f39b3d951677c6fa61)
Hi, I am having trouble using the library. I just copied the example code into a file and tried to run it (
node example.js
) I tested installing it from pnpm and npm, neither works.I am getting the following error:
Am I missing something or is there an issue with the library that has gone unnoticed?