json-schema-ref-parser icon indicating copy to clipboard operation
json-schema-ref-parser copied to clipboard

Module Not Found

Open Jonneal3 opened this issue 11 months ago • 3 comments

Screenshot 2024-03-05 at 3 35 45 PM

Module not found: ESM packages (node-fetch) need to be imported. Use 'import' to reference the package instead.

Next 14 Apple silicon M2 Next Build

Anyone running into this issue??

Jonneal3 avatar Mar 05 '24 20:03 Jonneal3

What node version are you using? We didn't change anything with the build, although there was an async import of node-fetch in there

Can you try v11.2.2?

jonluca avatar Mar 05 '24 20:03 jonluca

@jonluca sure 1 sec let me try that now

Jonneal3 avatar Mar 05 '24 21:03 Jonneal3

Screenshot 2024-03-05 at 4 07 08 PM

Actually yes looks like I am currently using that version

Jonneal3 avatar Mar 05 '24 21:03 Jonneal3

Did you bump the version to that? There's no references to node-fetch in the version 11.2.2. Can you try clearing your node modules and let me know if it still is happening?

jonluca avatar Mar 05 '24 22:03 jonluca