HARDHAT-错误:错误:0308010C:数字信封例程:不受支持


Error: error: 0308010 C: digital envelope routines::unsupported
at new Hash(node: internal / crypto / hash: 67: 19)
at Object.createHash(node: crypto: 130: 10)
at hash160(D: buildspace my - wave - portal node_modules ethereum - cryptography vendor hdkey - without - crypto.js: 249: 21)
at HDKey.set(D: buildspace my - wave - portal node_modules ethereum - cryptography vendor hdkey - without - crypto.js: 50: 24)
at Function.HDKey.fromMasterSeed(D: buildspace my - wave - portal node_modules ethereum - cryptography vendor hdkey - without - crypto.js: 194: 20)
at deriveKeyFromMnemonicAndPath(D: buildspace my - wave - portal node_modules hardhat src internal util keys - derivation.ts: 22: 27)
at derivePrivateKeys(D: buildspace my - wave - portal node_modules hardhat src internal core providers util.ts: 30: 52)
at normalizeHardhatNetworkAccountsConfig(D: buildspace my - wave - portal node_modules hardhat src internal core providers util.ts: 58: 10)
at createProvider(D: buildspace my - wave - portal node_modules hardhat src internal core providers construction.ts: 79: 59)
at D: buildspace my - wave - portal node_modules hardhat src internal core runtime - environment.ts: 80: 28 {
opensslErrorStack: ['error:03000086:digital envelope routines::initialization error'],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

我一直想把安全帽戴在窗户上。设置安全帽后。。当我尝试运行以下命令时-";npx安全帽账户或npx安全帽子测试",我得到上面给出的错误

我已经尝试降级节点版本并尝试设置节点选项。当我设置节点选项时,我会得到这个错误--在node_options中不允许使用openssl遗留提供程序。我在windows 上运行这个

尝试执行此操作之前:export NODE_OPTIONS=--openssl旧版提供程序

相关内容

最新更新