What is Nostr?
bloodymary /
npub1mkr…ved6
2024-03-23 07:20:57
in reply to nevent1q…r7ay

bloodymary on Nostr: It’s the difference between commons is and esm. The import statement can be used in ...

It’s the difference between commons is and esm.
The import statement can be used in ESM.

Otherwise you shall use require().

It means you are trying to run the code on the “server” side
Author Public Key
npub1mkrd5p48hgzpvgjnrt9j838v9vku65dankjmqunaazme62593dgq4wved6