pkg.pr.new: Request Entity Too Large

Related to https://github.com/web-infra-dev/rspack/pull/7757

Response {
  status: 413,
  statusText: 'Request Entity Too Large',
  headers: Headers {
    date: 'Tue, 03 Sep 2024 15:28:[23](https://github.com/web-infra-dev/rspack/actions/runs/10685274214/job/29620009337#step:8:24) GMT',
    'content-type': 'text/html',
    'transfer-encoding': 'chunked',
    connection: 'keep-alive',
    'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=stmTM6GJLuABGxIm8Hzh9cxxkIVV7l0BoDuw87STAicqiXlROWfb56x9RFEKLUlnNgnNC%2Bfte2oNJqpSm5z7Mg77xtTZzVs7%2FqAvJg4LL7v6G1koCUdPiQOOZy2T"}],"group":"cf-nel","max_age":604800}',
    nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
    vary: 'Accept-Encoding',
    server: 'cloudflare',
    'cf-ray': '8bd6c4f[31](https://github.com/web-infra-dev/rspack/actions/runs/10685274214/job/29620009337#step:8:32)d7d2b52-LAX',
    'alt-svc': 'h3=":443"; ma=86400'
  },
  body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true },
  bodyUsed: false,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://pkg.pr.new/publish'
}
Error:  Unexpected token '<', "<html>

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (13 by maintainers)

Most upvoted comments

Hey! I think I got it working now! Can you try this?

pnpm dlx pkg-pr-new@https://9772e258.stackblitz-cr.pages.dev/stackblitz-labs/pkg.pr.new/pkg-pr-new@227 publish --compact --pnpm './npm/*' './crates/node_binding' './packages/rspack'

Let me know so I merge and release!

wow, that’s so bad, I’ll fork rspack and continue my investigation.

Really sorry for that.

Here’s an updated command to run if you want!

pnpm dlx pkg-pr-new@https://9c821939.stackblitz-cr.pages.dev/stackblitz-labs/pkg.pr.new/pkg-pr-new@227 publish --compact --pnpm './npm/*' './crates/node_binding' './packages/rspack'

Sorry for this, the team and I are looking deep into this one!

Will keep you updated 🙌

Let’s see if the whitelist would solve the issue!

Let me try it.

Let’s see if the whitelist would solve the issue!