TypeError: bs58.encode is not a function
at encode (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/@aeternity/aepp-sdk/es/utils/encoder.mjs:56:26)
at encode (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/@aeternity/aepp-sdk/es/utils/encoder.mjs:104:21)
at getAddressFromPriv (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/@aeternity/aepp-sdk/es/utils/keystore.mjs:187:10)
at marshal (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/@aeternity/aepp-sdk/es/utils/keystore.mjs:163:17)
at Module.dump (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/@aeternity/aepp-sdk/es/utils/keystore.mjs:229:10)
at async writeWallet (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/bin/utils/account.mjs:34:47)
at async Module.createSecureWallet (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/bin/actions/account.mjs:283:7)
at async Command.parseAsync (/usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/commander/lib/command.js:923:5)
* **What is the expected behavior?**
not crashing
* **What is the motivation / use case for changing the behavior?**
* **Please tell us about your environment:**
- CLI Version: v4.0.0
- Node Version: v16.14.2
- NPM Version: v0.0.0
- Protocol Version: 1
- Compiler version: v0.0.0
* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. forum, telegram, etc)
Do you want to request a feature or report a bug? bug
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
TypeError: bs58.encode is not a function at encode (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/@aeternity/aepp-sdk/es/utils/encoder.mjs:56:26) at encode (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/@aeternity/aepp-sdk/es/utils/encoder.mjs:104:21) at getAddressFromPriv (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/@aeternity/aepp-sdk/es/utils/keystore.mjs:187:10) at marshal (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/@aeternity/aepp-sdk/es/utils/keystore.mjs:163:17) at Module.dump (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/@aeternity/aepp-sdk/es/utils/keystore.mjs:229:10) at async writeWallet (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/bin/utils/account.mjs:34:47) at async Module.createSecureWallet (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/bin/actions/account.mjs:283:7) at async Command.parseAsync (/usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/commander/lib/command.js:923:5)