Closed noahehall closed 1 year ago
The error seems to come from the isEqual
Lodash method. Maybe this is fixed in the latest Bun versions? https://github.com/oven-sh/bun/issues/936
@skidding interesting - honestly i didnt dive deep and correlated the buffer error msg to the incomplete buffer api - victim of a very long day.
but confirmed - lol simply clicking on the error was enoug ;)
will update the devs over at bun.sh
React Cosmos is one of the few component libraries that could ideally be paired with Bun.sh
However, it currently throws when using bun to bundle cosmos fixtures.
E.g. this repo with a div as a fixture
will throw an error about
isBuffer3.default is not a function
Potentially due to Bun's incomplete nodejs Buffer api
I figure there are two routes we can take
Bun.sh
to complete their buffer api