Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
flazouh opened this issue Dec 29, 2023 · 3 comments
Closed

Comments

@flazouh
Copy link

flazouh commented Dec 29, 2023

Run npx chrome-webstore-upload-cli@3 upload --source chrome-extension-cfd726002d89d231ebfd214435baf76305827fca.zip --auto-publish
npm WARN exec The following package was not found and will be installed: chrome-webstore-upload-cli@3.1.0
- Fetching token
- Uploading chrome-extension-cfd726002d8[9](https://github.com/alexandredepape/yazyk/actions/runs/7360389303/job/20036472601#step:4:10)d231ebfd214435baf76305827fca.zip
TypeError: RequestInit: duplex option is required when sending a body.
    at Object.fetch (node:internal/deps/undici/undici:[11](https://github.com/alexandredepape/yazyk/actions/runs/7360389303/job/20036472601#step:4:12)730:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async APIClient.uploadExisting (file:///home/runner/.npm/_npx/da388c0a4eab99e8/node_modules/chrome-webstore-upload/index.js:34:25)
    at async doAutoPublish (file:///home/runner/.npm/_npx/da388c0a4eab99e8/node_modules/chrome-webstore-upload-cli/cli.js:74:28)
    at async init (file:///home/runner/.npm/_npx/da388c0a4eab99e8/node_modules/chrome-webstore-upload-cli/cli.js:[16](https://github.com/alexandredepape/yazyk/actions/runs/7360389303/job/20036472601#step:4:17)7:9)
    at async file:///home/runner/.npm/_npx/da388c0a4eab99e8/node_modules/chrome-webstore-upload-cli/cli.js:[17](https://github.com/alexandredepape/yazyk/actions/runs/7360389303/job/20036472601#step:4:18)6:5
Error: Process completed with exit code 1.

Ever since fregante/chrome-webstore-upload-cli#74

Any idea ?

@fregante
Copy link
Owner

@fregante
Copy link
Owner

This has been fixed: https://github.com/fregante/chrome-webstore-upload/releases/tag/v3.0.1

Can you test again?

@flazouh
Copy link
Author

flazouh commented Jan 1, 2024

Thanks, will test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants