Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

LibP2P code breaks Pubsub when compiled #1417

Closed
@eolszewski

Description

@eolszewski

Version:
[email protected]

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:

main.e96fd1dc.js:149 Uncaught (in promise) Error: Callback was already called.
    at main.e96fd1dc.js:149
    at main.e96fd1dc.js:182
    at s (main.e96fd1dc.js:155)
    at main.e96fd1dc.js:182
    at main.e96fd1dc.js:155
    at l (main.e96fd1dc.js:155)
    at main.e96fd1dc.js:149
    at main.e96fd1dc.js:182
    at e.then.e (main.e96fd1dc.js:155)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions