TKay on Nostr: Hello nostr! I am trying to import NDK, but when i do i keep getting this error: ...
Hello nostr!
I am trying to import NDK, but when i do i keep getting this error:
Uncaught SyntaxError: Cannot use import statement outside a module
What is a module? what am I doing wrong?
#asknostr
Published at
2024-03-23 02:00:58Event JSON
{
"id": "e593f2bd7022a78f808398b845b56fb94dcd8c60948357b9d92fcbaf3fbe9033",
"pubkey": "9cb3545c36940d9a2ef86d50d5c7a8fab90310cc898c4344bcfc4c822ff47bca",
"created_at": 1711159258,
"kind": 1,
"tags": [
[
"t",
"asknostr"
]
],
"content": "Hello nostr!\n\nI am trying to import NDK, but when i do i keep getting this error:\n\nUncaught SyntaxError: Cannot use import statement outside a module\n\nWhat is a module? what am I doing wrong?\n\n#asknostr",
"sig": "28f385c2f6a4e6d70ce75e52c97c7e98d3fb790984ea528dfac21eb4af4767cc2ee78efead626c1f025b853d309e82436907f1cf751cf8d8b036a4f19170f416"
}