-1

I am using ipfs-http-client@44.0.3 library to upload a file to IPFS. below is the error I am getting while compiling the code

enter image description here

I have also tried to reinstall the library with sudo yarn add ipfs-http-client. I even tried installing with npm package but i am still getting the same error.

Here is the Screenshot of add.js: Screenshot of add.js

Vikas Bansal
  • 2,184
  • 2
  • 15
  • 18

1 Answers1

1

You need to run a version of node that supports async generator syntax - v10 or above.

Also, https://discuss.ipfs.io is a great resource to get help with problems like this.

achingbrain
  • 191
  • 2