Skip to content

cids should be a dependency, not a devDependency #118

Closed
@rrthomas

Description

@rrthomas

The module cids is required by src/utils/persist.js.

I found this problem because of hitting an error exactly like this one, which was caused by an old version of cids, which is required by web3, happening to be the version in the top level of my project's node_modules.

Thanks for IPFS!

Activity

achingbrain

achingbrain commented on Feb 22, 2021

@achingbrain
Member

Nice spot, thanks for opening this. It should be fixed in ipfs-unixfs-importer@6.0.0 and above. It'll get rolled into IPFS as part of ipfs/js-ipfs#3550 and shipped in the next release.

rrthomas

rrthomas commented on Feb 22, 2021

@rrthomas
Author

Thanks for the quick fix, @achingbrain!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @rrthomas@achingbrain

        Issue actions

          `cids` should be a dependency, not a devDependency · Issue #118 · ipfs/js-ipfs-unixfs