WHY

ERROR in ./node_modules/nostr-tools/lib/esm/nostr.mjs 1206:0-58

Module not found: Error: Can't resolve '@scure/bip39/wordlists/english' in '/media/utxo/Data/dev/zapable/node_modules/nostr-tools/lib/esm'

Did you mean 'english.js'?

BREAKING CHANGE: The request '@scure/bip39/wordlists/english' failed to resolve only because it was resolved as fully specified

(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').

The extension in the request is mandatory for it to be fully specified.

Add the extension to the request.

Reply to this note

Please Login to reply.

Discussion

AW MAN (i don’t understand any of this but i’m here to support you 100% forever)

🫂💜

JS module incompatibles are very frustrating. I once spent a dreary week translating one to the other. I feel for you.

I posted this a few days ago. No one commented anything.

Found the problem: you’re using Javascript