Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npx hedera-local start does not work #43

Closed
SimiHunjan opened this issue May 24, 2022 · 2 comments
Closed

npx hedera-local start does not work #43

SimiHunjan opened this issue May 24, 2022 · 2 comments
Labels
Bug An error that causes the feature to behave differently than what was expected based on design.

Comments

@SimiHunjan
Copy link
Contributor

SimiHunjan commented May 24, 2022

Description

npx hedera-local start errors with the following:

SimiHunjan ~ %1npx hedera-local start
Starting the docker containers...
Starting the network...
Generating accounts...
node:internal/crypto/hash:67
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at createHash (node:crypto:130:10)
    at ripemd160 (/Users/simihunjan/node_modules/@hethers/hdnode/node_modules/@ethersproject/sha2/lib/sha2.js:11:43)
    at new HDNode (/Users/simihunjan/node_modules/@hethers/hdnode/lib/index.js:78:110)
    at Function.HDNode._fromSeed (/Users/simihunjan/node_modules/@hethers/hdnode/lib/index.js:214:16)
    at Function.HDNode.fromMnemonic (/Users/simihunjan/node_modules/@hethers/hdnode/lib/index.js:221:23)
    at Function.Wallet.fromMnemonic (/Users/simihunjan/node_modules/@hethers/wallet/lib/index.js:314:43)
    at Function.Wallet.createRandom (/Users/simihunjan/node_modules/@hethers/wallet/lib/index.js:278:23)
    at Function.generateAccounts (/Users/simihunjan/node_modules/@hashgraph/hedera-local/src/hederaUtils.js:27:35)
    at start (/Users/simihunjan/node_modules/@hashgraph/hedera-local/cli.js:67:23) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}


Steps to reproduce

See above

Additional context

See above

Hedera network

other

Version

latest

Operating system

macOS

@SimiHunjan SimiHunjan added the Bug An error that causes the feature to behave differently than what was expected based on design. label May 24, 2022
@Kalina-Todorova
Copy link
Contributor

Hi @SimiHunjan could you share your Node and NPM versions?
Node version check: node -v
NPM version check: npm -v

@natanasow
Copy link
Collaborator

@SimiHunjan Currently, the supported versions of nodejs are < v17.0 due to a known bug in ethersjs core, which we have forked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug An error that causes the feature to behave differently than what was expected based on design.
Projects
None yet
Development

No branches or pull requests

3 participants