I get the following error when I run the mnemonics command in the terminal:
Error: crypto.getRandomValues must be defined
at Object.randomBytes (/home/rbgtk/.nvm/versions/node/v14.21.3/lib/node_modules/mnemonics/node_modules/@noble/hashes/utils.js:158:11)
at rng (/home/rbgtk/.nvm/versions/node/v14.21.3/lib/node_modules/mnemonics/node_modules/bip39/src/index.js:135:49)
at Object.generateMnemonic (/home/rbgtk/.nvm/versions/node/v14.21.3/lib/node_modules/mnemonics/node_modules/bip39/src/index.js:136:30)
at Proxy.cli (/home/rbgtk/.nvm/versions/node/v14.21.3/lib/node_modules/mnemonics/src/cli.js:4:19)
at Object.<anonymous> (/home/rbgtk/.nvm/versions/node/v14.21.3/lib/node_modules/mnemonics/bin/mnemonics:4:23)
at Module._compile (internal/modules/cjs/loader.js:1114:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
at Module.load (internal/modules/cjs/loader.js:979:32)
at Function.Module._load (internal/modules/cjs/loader.js:819:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
I'm using debian 11.5 with NVM and I've tried these node versions:
I get the following error when I run the
mnemonics
command in the terminal:I'm using debian 11.5 with NVM and I've tried these node versions: