This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
LibP2P code breaks Pubsub when compiled #1417
Comments
@diasdavid here a branch that will allow you to reproduce this. https://github.com/eolszewski/ipfs-pubsub-chatroom/tree/feature/webpack If you clone this and run:
and then open your browser, you will notice no errors. However, if you run:
And then open your browser you will see the error mentioned above. |
This was solved by adding the following to |
This was referenced Jan 7, 2024
This was referenced Jan 7, 2024
This was referenced Jan 7, 2024
This was referenced Jan 7, 2024
This was referenced Jan 7, 2024
This was referenced Jan 7, 2024
This was referenced Jan 7, 2024
This was referenced Jan 7, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version:
ipfs@0.29.3
Platform:
Darwin Kernel Version 15.4.0
Type:
Bug
Severity:
High
Description:
Running locally works fine, but once you compile and minify, you get the following error:
Which I attribute to the following: libp2p/js-libp2p-secio#100
Steps to reproduce the error:
I'm still working out exactly how to reproduce this with the build process in a standalone repository, but this repository should suit the needs here while I work that out.
https://github.com/eolszewski/ipfs-pubsub-chatroom/blob/master/package.json
The text was updated successfully, but these errors were encountered: