Nakama server is running fine. Then I just created a add_user.js file and using npm and “npm i @heroiclabs/nakama-js” ran this command. No error and I can see heroiclabs folder in node_modules folder. Then I wrote the following code
`
import {Client} from “@heroiclabs/nakama-js”;
var useSSL = false; // Enable if server is run with an SSL certificate.
var client = new Client(“defaultkey”, “127.0.0.1”, “7350”, useSSL);
`
and getting the error “SyntaxError: Cannot use import statement outside a module”. Can anyone please help? How to run the JS codes in the right way actually?