-
Notifications
You must be signed in to change notification settings - Fork 60
Buffer is not defined in browser #209
Comments
Further diagnosis shows this seems to be a problem with libp2p@0.29.0 (likely passing a bad function), updating to 0.29.4 seems to have fixed the issue. |
The issue has returned. Not sure what to make of this. It happens only when there is another peer connected with the same DHT protocol, which makes sense considering the action. |
This is likely due to
Not sure why this wasn't caught during the switch over to Uint8Arrays, #202. @achingbrain any thoughts here on resolving this? Ideally we should keep the |
I have forked, upgraded and tested Will now implement, test & make a PR. |
I've PR'd In the interim we can add a I guess this is hitting an untested branch in the code? |
Closing this as I have found a solution that works. See #210 (comment) |
Trying to
put
a key into a DHT from the browser fails with the following error, despite all simulated aegir tests passing.Seems to be an issue with either the webpack process or a dependency that is out of date. This may be the reason why this package was not pushed to the browser CDNs. I've tried tracking down the culprate to no avail.
The text was updated successfully, but these errors were encountered: