-
Notifications
You must be signed in to change notification settings - Fork 1.2k
"peerId must be an instance of peer-id" on webpack'd version of js-ipfs #3284
Comments
Do you have multiple versions of |
How do I repro this? I did: $ git clone https://github.com/orbitdb/orbit-db-store
$ cd orbit-db-store
$ make rebuild
$ npm test It ran the tests in node and mocha-headless-chrome and they passed. Doing the install has modified the |
ah sorry - |
Also |
You may need to spin up a webrtc-star signalling server as part of the test so they can dial each other - we do something similar in our tests. |
Ahhhhh of course. This can be closed. I know what to do. Thank you! |
Version: 0.50.2
Platform: Browser via
mocha-headless-chrome
Subsystem: libp2p
Severity: High
Description:
Running the tests for
orbit-db-store
, I find that this test works fine in node.js but when run in the browser (via minified webpack), it gives me the error:peerId must be an instance of peer-id
Steps to reproduce the error:
$ git clone https://github.com/orbitdb/orbit-db-store $ cd orbit-db-store $ make rebuild
Or you can view the error here in the CircleCI test results. https://app.circleci.com/jobs/github/orbitdb/orbit-db-store/573
The text was updated successfully, but these errors were encountered: