How to use buffer in my nextjs #82110
Unanswered
18121A05L2
asked this question in
Help
Replies: 1 comment
-
I see, IIRC, for client/browser code, this buffer is used https://github.com/feross/buffer to have node/browser compatibility, and as this issue points out, feross/buffer#318, You could polyfill the missing support for BigInt I guess, or change to try to keep the usage of this API server side exclusive - |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I was build a project based on Zeroknowledge proofs
for that i need to use @aztec/bb.js package in my frontend
but i was facing the following error
buf.writeBigUInt64BE is not a function
for this i have tried to modify my nexjs config file to the below , but still i was facing that issue
Additional information
No response
Example
Beta Was this translation helpful? Give feedback.
All reactions