This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Transient dependency on safer-buffer breaks builds that polyfill with rollup #5059
Closed
1 task done
Is there an existing issue for this?
Current Behavior
When running web3.js in the browser via a react app served with snowpack I get this error:

Expected Behavior
Should be able to polyfill buffer using rollup.
Steps to Reproduce
3.8.6
polyfillNode: true
to thepackageOptions
array in `snowpack.config.mjs'yarn start
Web3.js Version
1.7.3
Environment
Anything Else?
The dependencies that transiently depend on
safer-buffer
:Related Issues:
The text was updated successfully, but these errors were encountered: