I am trying to follow the first example in the documentation https://docs.hedera.com/hedera/getting-started/environment-set-up ( JS ), but I got this error after running the index.js
/home/development/hello-hedera-js-sdk/node_modules/@hashgraph/sdk/lib/transaction/TransactionReceipt.cjs:166
this.serials = props.serials ?? [];
Any clue?
Solved! I just used the command "node index.js" instead off "js index.js". node.js is using EcmaScript 11 that supported the double question mark for the ternary conditional.