You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is not a question, feature request, RFC, or anything other than a bug report directly related to Gatsby. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Description
My project doesn't build although gatsby develop works.
The issue is with the latest versions of bip32 and bip39 libraries. I narrowed it down to v1.3.0 of noble-hashes that they both depend on, more specifically with the ESM syntax import * as nc from 'node:crypto'.
This discussion was converted from issue #38198 on June 05, 2023 11:42.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Preliminary Checks
Description
My project doesn't build although
gatsby develop
works.The issue is with the latest versions of
bip32
andbip39
libraries. I narrowed it down to v1.3.0 of noble-hashes that they both depend on, more specifically with the ESM syntaximport * as nc from 'node:crypto'
.Versions
Solution
Resolving to 1.2.0 works as there are no ESM imports. Is there any Gatsby config/plugins that I should be using?
Reproduction Link
Steps to Reproduce
gatsby build
gatsby develop
should work fineExpected Result
App builds successfully
Actual Result
Build will fail (see example screenshot)
Environment
Config Flags
FAST_DEV: true
Beta Was this translation helpful? Give feedback.
All reactions