Closed culda closed 1 year ago
Description I have a Gatsby/yarn v3 app and it doesn't build the latest bip32 and bip39 libraries. The issue is with v1.3.0 of noble-hashes that they both depend on, more specifically with the ESM syntax import * as nc from 'node:crypto'.
bip32
bip39
noble-hashes
import * as nc from 'node:crypto'
Solution The solution for me currently is
"resolutions": { "@noble/hashes": "1.2.0", }
There is no issue with noble-crypto. The issue is with your bundler config. Adjust it properly or report to its repo.
Description I have a Gatsby/yarn v3 app and it doesn't build the latest
bip32
andbip39
libraries. The issue is with v1.3.0 ofnoble-hashes
that they both depend on, more specifically with the ESM syntaximport * as nc from 'node:crypto'
.Solution The solution for me currently is