-
Notifications
You must be signed in to change notification settings - Fork 1.2k
TypeError: RequestInit: duplex option is required when sending a body. #4276
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
I am seeing the same problem. I tried a bunch of old versions, and they all seem to do the same thing. Here's the code:
And here's the output:
|
any update for this issue |
I have found the solution. In my case, my node version got updated. Reverted it back to V16. Its working fine for me |
What version node are you on? I'm hitting this error on 16.17.1 |
I am on V16.15.1. Try This one. Best Luck |
I am switch to |
^ditto.. I didnt specify my node version past 18.x.x when deploying to heroku where they had recently changed default from 18.12 -> 18.13 which seems to break ipfs-https-client |
I believe its resolved now. Closing the issue |
The problem is still happening:
NodeJS v18.15.0 |
TypeError: RequestInit: duplex option is required when sending a body. This issue is still happening. Please how can I resolve it? |
Hi,
I was working with ipfs-http-client version ^59.0.0. Everything was working fine, and I did some updates through brew, and Node got updated to V19. Previously I was on V18.13.0
Now the code is giving above mentioned error while performing ipfs.add operation.
For other ipfs operations, everything is working fine.
I did downgrade to node V18.13.0, but the issue is still there. I am not sure what wrong i am doing.
I am using Mac OS.
Here is the code to reproduce the issue...
Here is the error log :-
The text was updated successfully, but these errors were encountered: