Skip to content

pnpm version -ws leads to npm error Unsupported URL Type "workspace:": workspace:^ #10703

@axel7083

Description

@axel7083

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

10.15.0

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

  1. Have a monorepo with package dependending on each others
  2. Run pnpm version <version> --no-git-tag-version -ws
  3. Assert error npm error Unsupported URL Type "workspace:": workspace:^

Describe the Bug

When trying to bump all packages in my monorepository with pnpm version I'm getting the error

0 verbose cli /usr/bin/node-22 /usr/bin/npm
1 info using npm@10.9.4
2 info using node@v22.22.0
3 silly config load:file:/usr/lib/node_modules_22/npm/npmrc
4 silly config load:file:/home/axel7083/github/redhat/pd-extension-quadlet/.npmrc
5 silly config load:file:/home/axel7083/.npmrc
6 silly config load:file:/etc/npmrc
7 verbose title npm version 0.14.0
8 verbose argv "version" "0.14.0" "--no-git-tag-version" "--workspaces"
9 verbose logfile logs-max:10 dir:/home/axel7083/.npm/_logs/2026-02-26T13_55_24_133Z-
10 verbose logfile /home/axel7083/.npm/_logs/2026-02-26T13_55_24_133Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly logfile done cleaning log files
13 verbose version Not tagging: not in a git repo or no git cmd
14 verbose version Not tagging: not in a git repo or no git cmd
15 verbose version Not tagging: not in a git repo or no git cmd
16 verbose version Not tagging: not in a git repo or no git cmd
17 verbose version Not tagging: not in a git repo or no git cmd
18 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
19 silly idealTree buildDeps
20 silly placeDep ROOT @podman-desktop/quadlet-extension-core-api@0.14.0 OK for: quadlet@0.13.0-next want: file:/home/axel7083/github/redhat/pd-extension-quadlet/packages/shared
21 silly placeDep ROOT frontend@0.14.0 OK for: quadlet@0.13.0-next want: file:/home/axel7083/github/redhat/pd-extension-quadlet/packages/frontend
22 silly placeDep ROOT podlet-js@0.14.0 OK for: quadlet@0.13.0-next want: file:/home/axel7083/github/redhat/pd-extension-quadlet/packages/podlet-js
23 silly placeDep ROOT podman-quadlet-tests-playwright@0.14.0 OK for: quadlet@0.13.0-next want: file:/home/axel7083/github/redhat/pd-extension-quadlet/tests/playwright
24 silly placeDep ROOT quadlet@0.14.0 OK for: quadlet@0.13.0-next want: file:/home/axel7083/github/redhat/pd-extension-quadlet/packages/backend
25 verbose stack Error: Unsupported URL Type "workspace:": workspace:^
25 verbose stack     at unsupportedURLType (/usr/lib/node_modules_22/npm/node_modules/npm-package-arg/lib/npa.js:369:15)
25 verbose stack     at fromURL (/usr/lib/node_modules_22/npm/node_modules/npm-package-arg/lib/npa.js:428:13)
25 verbose stack     at Function.resolve (/usr/lib/node_modules_22/npm/node_modules/npm-package-arg/lib/npa.js:110:12)
25 verbose stack     at #nodeFromEdge (/usr/lib/node_modules_22/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1039:22)
25 verbose stack     at #buildDepStep (/usr/lib/node_modules_22/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:904:35)
25 verbose stack     at #buildDepStep (/usr/lib/node_modules_22/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1026:30)
25 verbose stack     at async Arborist.buildIdealTree (/usr/lib/node_modules_22/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:181:7)
25 verbose stack     at async Promise.all (index 1)
25 verbose stack     at async Arborist.reify (/usr/lib/node_modules_22/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:131:5)
25 verbose stack     at async updateWorkspaces (/usr/lib/node_modules_22/npm/lib/utils/update-workspaces.js:36:3)
26 error code EUNSUPPORTEDPROTOCOL
27 error Unsupported URL Type "workspace:": workspace:^
28 silly unfinished npm timer reify 1772114124306
29 silly unfinished npm timer reify:loadTrees 1772114124307
30 silly unfinished npm timer idealTree:buildDeps 1772114124930
31 silly unfinished npm timer idealTree:packages/backend 1772114124946
32 verbose cwd /home/axel7083/github/redhat/pd-extension-quadlet
33 verbose os Linux 6.18.12-200.fc43.x86_64
34 verbose node v22.22.0
35 verbose npm  v10.9.4
36 verbose exit 1
37 verbose code 1

Expected Behavior

I would expect all my packages to be nicely updated

Which Node.js version are you using?

22

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

Fedora

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions