aeternity / aepp-cli-js

Command line interface for the æternity blockchain
http://docs.aeternity.com/aepp-cli-js/
ISC License
7 stars 6 forks source link

Missing dependency #190

Closed dincho closed 2 years ago

dincho commented 2 years ago

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)