Questions tagged [js-ipfs]

The JavaScript implementation of the IPFS (InterPlanetary File System) protocol.

IPFS logo

The InterPlanetary File System is a hypermedia distribution protocol, addressed by content and identities. It enables the creation of completely distributed applications.

IPFS aims to make the web faster, safer, and more open by connecting all computing devices with the same system of files.

js-ipfs provides a library which enables users to spin up full IPFS nodes from JavaScript. It runs in the command line, or in the browser.

Latest release of js-ipfs is 0.54.4. Read more about the latest release at https://github.com/ipfs/js-ipfs/releases

js-ipfs documentation: https://github.com/ipfs/js-ipfs/tree/master/docs

95 questions
0
votes
1 answer

js-IPFS / vue.js upload error - Object is not async iterable

I have been working on js-ipfs (0.49.0) and this was working fine but I started getting some issues, anyway I have finally come back to look at the code again and the connection works fine but when I attempt to upload I get a new error Object is not…
adamprocter
  • 856
  • 1
  • 15
  • 31
-1
votes
2 answers

Typeerror: source is not iterable while uploading file into ipfs by using web3storage

Yesterday I bought my new laptop and installed all the stuffs like react, web3.storage etc on new versions. I have a copy of my same source code on my another computer. In my computer this code work fine but not in my new laptop I tried to upload…
Abdul Haq
  • 9
  • 2
-1
votes
1 answer

IPFS file extension for GLB

I'm using the ipfs-http-client module to interact with IPFS. My problem is that I need the file extension on the link that I generate, and it seems that I can only get it with the wrapWithDirectory flag (-w with the command line). But this flag…
Mouloud85
  • 3,826
  • 5
  • 22
  • 42
-1
votes
1 answer

ipfs.cat(cid) in node js gives error "Error: Invalid version, must be a number equal to 1 or 0 at Function.validateCID"

I am using the ipfs-http-client module. This is my script async function main() { const ipfs_client = require('ipfs-http-client'); const client = ipfs_client({recursive: false}); async function addFile(file_data) { const cid = function (data)…
-1
votes
1 answer

Need an appropriate loader to handle this file type. | * @type {import(‘../../ipfs/src/core/components/add-all’).AddAll}

I downloaded source code from GitHub and try to run it. It ran but then came the issue with “ipfs-api” so then I install the latest version of “iphs-http-client” now it pops up a lot of error relating to PLEASE TELL ME IF THIS CAN BE SOLVE IF CANT…
Lionel Lim
  • 73
  • 1
  • 3
1 2 3 4 5 6
7