Skip to content

can’t publish to codeberg registry with v11 #12099

Description

@tao-cumplido

Last pnpm version that worked

10.x

pnpm version

11.5.0

Code to reproduce the issue

example .npmrc

@my-scope:registry=https://codeberg.org/api/packages/tao-cumplido/npm/

then run

pnpm publish

Expected behavior

package should be published

Actual behavior

[E500] 500 Internal Server Error - PUT https://codeberg.org/api/packages/tao-cumplido/npm/@binary-tools%2fcore

pnpm: 500 Internal Server Error - PUT https://codeberg.org/api/packages/tao-cumplido/npm/@binary-tools%2fcore
    at file:///home/linuxbrew/.linuxbrew/Cellar/pnpm/11.5.0/libexec/lib/node_modules/pnpm/dist/pnpm.mjs:230077:17
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async publish3 (file:///home/linuxbrew/.linuxbrew/Cellar/pnpm/11.5.0/libexec/lib/node_modules/pnpm/dist/pnpm.mjs:253731:19)
    at async withOtpHandling (file:///home/linuxbrew/.linuxbrew/Cellar/pnpm/11.5.0/libexec/lib/node_modules/pnpm/dist/pnpm.mjs:122413:12)
    at async publishPackedPkg (file:///home/linuxbrew/.linuxbrew/Cellar/pnpm/11.5.0/libexec/lib/node_modules/pnpm/dist/pnpm.mjs:254355:20)
    at async publish2 (file:///home/linuxbrew/.linuxbrew/Cellar/pnpm/11.5.0/libexec/lib/node_modules/pnpm/dist/pnpm.mjs:254891:22)
    at async recursivePublish (file:///home/linuxbrew/.linuxbrew/Cellar/pnpm/11.5.0/libexec/lib/node_modules/pnpm/dist/pnpm.mjs:254625:31)
    at async publish2 (file:///home/linuxbrew/.linuxbrew/Cellar/pnpm/11.5.0/libexec/lib/node_modules/pnpm/dist/pnpm.mjs:254842:45)
    at async Object.handler61 [as publish] (file:///home/linuxbrew/.linuxbrew/Cellar/pnpm/11.5.0/libexec/lib/node_modules/pnpm/dist/pnpm.mjs:254789:19)
    at async file:///home/linuxbrew/.linuxbrew/Cellar/pnpm/11.5.0/libexec/lib/node_modules/pnpm/dist/pnpm.mjs:276639:19

Additional information

workaround note from https://pnpm.io/cli/publish works:

pnpm pack && npm publish *.tgz

the note says this workaround is necessary when relying on a feature that is now gone, but I have no idea which feature this could be...

Node.js version

25.9.0

Operating System

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions