Freedom Smuggler on Nostr: When I import NDK I keep getting this error: Uncaught SyntaxError: Cannot use import ...
When I import NDK 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 01:59:08Event JSON
{
"id": "bb8a8ddc931e975f7a27ab94aa0be809ebd5b03d99b96d0706298864e2e13f98",
"pubkey": "9cb3545c36940d9a2ef86d50d5c7a8fab90310cc898c4344bcfc4c822ff47bca",
"created_at": 1711159148,
"kind": 1,
"tags": [
[
"t",
"asknostr"
]
],
"content": "When I import NDK 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": "ad1e5d3812f92a3eee94c41c032bd1047118c8247814eceac87b6401a53287396a30372cbd504f99e12beacff4f0a0fc5d3689fea38e1653cfb2d46333f89c19"
}