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

[bug] downgrade libp2p #3876

Closed
itseasy21 opened this issue Sep 17, 2021 · 5 comments
Closed

[bug] downgrade libp2p #3876

itseasy21 opened this issue Sep 17, 2021 · 5 comments
Labels
need/author-input Needs input from the original author

Comments

@itseasy21
Copy link

itseasy21 commented Sep 17, 2021

  • Version:
    0.10.6 and older versions

  • Platform:
    64bit windows

  • Subsystem:
    libp2p

Severity:

Critical

Description:

The latest version of libp2p has broken dependencies. It is also reported here : libp2p/js-libp2p#986

Error:
D:/React-WorkSpace/COSC2410_SEM_2_2021/.yarn/cache/libp2p-npm-0.32.4-fe607aff53-99957c9e00.zip/node_modules/libp2p/src/dialer/index.js Module not found: libp2p tried to access abortable-iterator, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Steps to reproduce the error:

Add latest ipfs-core to a project and try to start the server.

@itseasy21 itseasy21 added the need/triage Needs initial labeling and prioritization label Sep 17, 2021
@welcome
Copy link

welcome bot commented Sep 17, 2021

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@onichandame
Copy link

One thing note mentioning here is that to reproduce the error one better use yarn v2 with PnP enabled

@negamaxi
Copy link
Contributor

Seems related:

Снимок экрана от 2021-09-19 18-37-32

Facing this error trying to build CRA project with ipfs-core ^0.10.8 package

webpack 4.44.2
NPM 7.21.1

@BigLep
Copy link
Contributor

BigLep commented Sep 24, 2021

A new version of js-ipfs (0.59) went out today with the newest js-libp2p that fixes this. Can you please upgrade and see if that resolve the issue for you? Thanks!

@BigLep BigLep added need/author-input Needs input from the original author and removed need/triage Needs initial labeling and prioritization labels Sep 24, 2021
@lidel lidel closed this as completed Oct 1, 2021
@lidel
Copy link
Member

lidel commented Oct 1, 2021

Please open a new issue if its still an issue with 0.59+

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need/author-input Needs input from the original author
Projects
None yet
Development

No branches or pull requests

5 participants