aquiladev / ipfs-action

GitHub Action for upload to IPFS. Supports Pinata, Infura pinning service as well as direct upload.
https://dapps-delivery-guide.readthedocs.io/
MIT License
177 stars 44 forks source link

TypeError: RequestInit: duplex option is required when sending a body. #78

Open Liudon opened 2 weeks ago

Liudon commented 2 weeks ago
Run aquiladev/ipfs-action@master
Error: RequestInit: duplex option is required when sending a body.
node:internal/deps/undici/undici:12502
      Error.captureStackTrace(err, this);
            ^

TypeError: RequestInit: duplex option is required when sending a body.
    at node:internal/deps/undici/undici:12502:[13](https://github.com/Liudon/liudon.github.io/actions/runs/10650522594/job/29522003155#step:12:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v20.13.1

workflow: https://github.com/Liudon/liudon.github.io/actions/runs/10650522594/job/29522003155

Liudon commented 2 weeks ago

https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

github upgrade nodejs to 20.x,it work failed

Liudon commented 2 weeks ago

https://github.com/ipfs/js-ipfs

DEPRECATED: js-IPFS has been superseded by Helia

this is a new package, it can replace the ipfs-http-client package.

https://github.com/ipfs/js-kubo-rpc-client

Liudon commented 2 weeks ago

Sorry, the problem has not been solved yet.

Liudon commented 1 week ago

https://github.com/aquiladev/ipfs-action/pull/75/files

this pull work success on nodejs 20.x