-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Example: Circuit Realying broken #1423
Comments
@alanshaw this seems to be the same issue as with the aegir docs generation, right? |
Seems Alan actually fixed it and it's in master now: a08a17d @PascalPrecht can you try again and close the issue if it's been fixed? |
Yep, that's been resolved - hopefully this example now works! |
Verifying this now. |
Hm... so on latest master
|
@victorbjelkholm can you confirm this? ^ |
@PascalPrecht I can confirm, I'm seeing this too. Am investigating. |
Deleting and rebuilding |
Thanks @olizilla let me know if you need any help |
@PascalPrecht the adventure continues!
The stack is mangled but, the require that fails is here: the error suggests that the export from webcrypto.js is not a exporting a function, but it does: https://github.com/libp2p/js-libp2p-crypto/blob/ad478454d86787fffed30730605d6c76a36b4d61/src/webcrypto.js Could be a parcel specific esm vs commonJs default module export mix up, but both the exporting and the requiring module are written in commonJs, so that'd be an egregious mix up. I haven't had time to dig into it yet. @PascalPrecht if you have a moment to test it out and see if you get the same that'd be ace! |
I can confirm this. I don't get the parcel error tho. Anything specific required to reproduce that one apart from |
Ah yes, the bundle error is from running |
The reason the addresses are not being printed out anymore is because of the changes made to libp2p config (breaking change). The circuit config is not looked up under the I wonder if the change to move circuit-relay from under // cc @diasdavid @jacobheun |
@dryajov yes the change to move relay out of experimental was intentional, the example just got missed. The change in js-ipfs was confirmed here at #1401 (comment) |
Type: Bug
Severity: Medium
Description:
At the time of creating this issue (latest master c1ee247), following the tutorial instructions in the
circuit-relaying
example results in the following building error:Steps to reproduce the error:
The text was updated successfully, but these errors were encountered: