Skip to content

Error getting a directory #1

@olizilla

Description

@olizilla
$ ipfs-get QmTnuLaivKc1Aj8LBf2iWBHDXsmedip3zSPbQcGi6BFwTC                                                                                                                  
📡 Fetching .car file from http://127.0.0.1:5001/
Error: "codec" property is deprecated, use integer "code" property instead
    at CID.get codec [as codec] (file:///Users/oli/Code/olizilla/ipfs-get/node_modules/multiformats/esm/src/cid.js:92:11)
    at resolve (/Users/oli/Code/olizilla/ipfs-get/node_modules/ipfs-unixfs-exporter/src/resolvers/index.js:28:34)
    at Object.yieldDirectoryContent [as content] (/Users/oli/Code/olizilla/ipfs-get/node_modules/ipfs-unixfs-exporter/src/resolvers/unixfs-v1/content/directory.js:23:28)
    at yieldDirectoryContent.next (<anonymous>)
    at recurse (/Users/oli/Code/olizilla/ipfs-get/node_modules/ipfs-unixfs-exporter/src/index.js:141:22)
    at recurse.next (<anonymous>)
    at Object.recursive (/Users/oli/Code/olizilla/ipfs-get/node_modules/ipfs-unixfs-exporter/src/index.js:130:22)
    at recursive.next (<anonymous>)
    at extractCar (file:///Users/oli/Code/olizilla/ipfs-get/index.js:72:20)
    at async ipfsGet (file:///Users/oli/Code/olizilla/ipfs-get/index.js:63:3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions