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:

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)

Most upvoted comments

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:

I’m also having this issue in: https://github.com/enzonotario/vitepress-theme-openapi/actions/runs/10646338885

— Reply to this email directly, view it on GitHub https://github.com/stackblitz-labs/pkg.pr.new/issues/212#issuecomment-2322999572, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJBMICCCPLH5LFLSVLUUFZLZUIBGJAVCNFSM6AAAAABNN5RBXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSHE4TSNJXGI . You are receiving this because you commented.Message ID: @.***>