pkg.pr.new: Why am I seeing 400 + "No packages"? (regression)
To me it seems things are set up properly (app installed, package.json#repository set, workflow added), but I’m running into this issue:
- Failing task: https://github.com/webpro/reveal-md/actions/runs/10645943580/job/29512256471#step:4:5
- Exception thrown at: https://github.com/stackblitz-labs/pkg.pr.new/blob/44fa427c4e2533ef26c81bac82fee906c015af94/packages/backend/server/routes/publish.post.ts#L59-L70
Output:
Run npx --yes pkg-pr-new publish
npx --yes pkg-pr-new publish
shell: /usr/bin/bash -e {0}
Error: publishing failed: {"url":"/publish","statusCode":400,"statusMessage":"","message":"No packages"}
at Object.run (/home/runner/.npm/_npx/e8f433c388b218fc/node_modules/pkg-pr-new/dist/index.js:3326:18)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runCommand (/home/runner/.npm/_npx/e8f433c388b218fc/node_modules/pkg-pr-new/dist/index.js:2196:16)
at async runCommand (/home/runner/.npm/_npx/e8f433c388b218fc/node_modules/pkg-pr-new/dist/index.js:2187:11)
at async runMain (/home/runner/.npm/_npx/e8f433c388b218fc/node_modules/pkg-pr-new/dist/index.js:2323:7)
Looking back, here’s a successful run, but has an error too:
https://github.com/webpro/reveal-md/actions/runs/9888941492/job/27313935552
Any chance you could see what I’m doing wrong? Or maybe it’s a bug in pkg.pr.new?
Either way, there’s room for improvement. Let me know if you need more details.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 23 (19 by maintainers)
will make a release soon (0.0.23)!
Feel free to re-open if the issue seems to be there!
Just sent a release! Thank you so much again ❤️
Amazing, we’ll do a release! Thank you so much.
opened #218 👀
I think the release is available, let me know what you think!
Ok I’ll just resolve it, sorry for the bad experience!
Thank you.1
On Sat, 31 Aug 2024, 21:39 Enzo Notario, @.***> wrote: