This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
fresh installs of js-ipfs fail to build with browserify. peer-id suspect #2283
Labels
exp/novice
Someone with a little familiarity can pick up
kind/bug
A bug in existing code (including security flaws)
P1
High: Likely tackled by core team if no one steps up
status/blocked
Unable to be worked further until needs are met
status/ready
Ready to be worked
Type: Bug
Severity: High
Description:
I reported this here but since it's breaking all of js-ipfs I thought it would be good to draw more attention in the main repo.
Browserify-ing any recent version of js-ipfs fails with:
I looked into this some and I think the problem is that
peer-id
had a semver lapse, because lots of js-ipfs things depend on~0.12.x
and with0.12.2
everything is fine, but 10 days ago0.12.3
,0.13.0
,0.13.1
, and0.13.2
were published in quick succession. Now when installing fresh,package-lock.json
shows some instances of0.12.3
. The very close pattern of releases makes me think they realized it wasn't working and pushed some fixes, but forgot to remove the broken versions, especially0.12.3
.Steps to reproduce the error:
package.json
index.js
run
Also available to be cloned here: https://github.com/npfoss/js-ipfs-bug-code
The text was updated successfully, but these errors were encountered: