You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to do truffle compile on my linux machine but i am getting below error. I tried reinstalling node modules and also tried reinstalling bip39 separaeltely but it didn't worked.
SyntaxError: Unexpected token *
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/ubuntu///node_modules/@truffle/hdwallet-provider/node_modules/ethereum-cryptography/bip39/index.js:4:15)
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to do truffle compile on my linux machine but i am getting below error. I tried reinstalling node modules and also tried reinstalling bip39 separaeltely but it didn't worked.
/home/ubuntu///node_modules/@scure/bip39/index.js:54
if (!Array.isArray(wordlist) || wordlist.length !== 2 ** 11 || typeof wordlist[0] !== 'string')
^
SyntaxError: Unexpected token *
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/ubuntu///node_modules/@truffle/hdwallet-provider/node_modules/ethereum-cryptography/bip39/index.js:4:15)
The text was updated successfully, but these errors were encountered: