This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
packages/ipfs-core/src/index.js attempts to export undefined Buffer #3312
Labels
need/triage
Needs initial labeling and prioritization
Problem exists from at least 50.1, but is on master as well.
Severity:
High - The main functionality of the application does not work, API breakage, repo format breakage, etc.
Description:
Loading code that is browserified will cause js-ipfs to fail to load with the following error
Steps to reproduce the error:
browserify
the following code and including it in any browser will show the errorEven beyond that, just looking at the current code clearly shows a that
Buffer
is inmodule.exports
but is not defined anywhere else: https://github.com/ipfs/js-ipfs/blob/master/packages/ipfs-core/src/index.jsThe text was updated successfully, but these errors were encountered: