Skip to content

fix: declare bignumber.js as direct dependency - #2

Merged
moose-code merged 1 commit into
mainfrom
merge/v2
Apr 22, 2026
Merged

fix: declare bignumber.js as direct dependency#2
moose-code merged 1 commit into
mainfrom
merge/v2

Conversation

@moose-code

Copy link
Copy Markdown
Owner

The BigDecimal scalar in envio alpha.21 resolves to bignumber.js's BigNumber class, which src/utils/fpmm.ts imports directly. Locally this worked because pnpm hoists the transitive dep from envio, but the hosted service runs with strict module isolation and rejects the import with ERR_MODULE_NOT_FOUND.

Pinning ^9.3.1 to match what pnpm already resolves through envio.

The BigDecimal scalar in envio alpha.21 resolves to bignumber.js's
BigNumber class, which src/utils/fpmm.ts imports directly. Locally
this worked because pnpm hoists the transitive dep from envio, but
the hosted service runs with strict module isolation and rejects
the import with ERR_MODULE_NOT_FOUND.

Pinning ^9.3.1 to match what pnpm already resolves through envio.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@moose-code
moose-code merged commit edd94dc into main Apr 22, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant