这是indexloc提供的服务,不要输入任何密码
Skip to content

📚 Docs: Instructions to install canary fails #10842

@torarnv

Description

@torarnv

What is the improvement or update you wish to see?

When filing a bug I'm asked to npm install turbo@canary, but that results in

❯ npm install turbo@canary
npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "workspace:": workspace:*
npm error A complete log of this run can be found in: /Users/torarne/.npm/_logs/2025-09-12T09_59_48_487Z-debug-0.log

Is there any context that might help us understand?

0 verbose cli /Users/torarne/.nvm/versions/node/v24.8.0/bin/node /Users/torarne/.nvm/versions/node/v24.8.0/bin/npm
1 info using npm@11.6.0
2 info using node@v24.8.0
3 silly config load:file:/Users/torarne/.nvm/versions/node/v24.8.0/lib/node_modules/npm/npmrc
4 silly config load:file:/Users/torarne/dev/gitbutler/.npmrc
5 silly config load:file:/Users/torarne/.npmrc
6 silly config load:file:/Users/torarne/.nvm/versions/node/v24.8.0/etc/npmrc
7 verbose title npm install turbo@canary
8 verbose argv "install" "turbo@canary"
9 verbose logfile logs-max:10 dir:/Users/torarne/.npm/_logs/2025-09-12T09_59_48_487Z-
10 verbose logfile /Users/torarne/.npm/_logs/2025-09-12T09_59_48_487Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly packumentCache heap:4496293888 maxSize:1124073472 maxEntrySize:562036736
13 silly logfile done cleaning log files
14 silly packumentCache corgi:https://registry.npmjs.org/turbo cache-miss
15 http cache https://registry.npmjs.org/turbo 6ms (cache hit)
16 silly packumentCache corgi:https://registry.npmjs.org/turbo set size:884167 disposed:false
17 silly idealTree buildDeps
18 verbose stack Error: Unsupported URL Type "workspace:": workspace:*
18 verbose stack     at unsupportedURLType (/Users/torarne/.nvm/versions/node/v24.8.0/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:369:15)
18 verbose stack     at fromURL (/Users/torarne/.nvm/versions/node/v24.8.0/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:428:13)
18 verbose stack     at npa.resolve (/Users/torarne/.nvm/versions/node/v24.8.0/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:110:12)
18 verbose stack     at #nodeFromEdge (/Users/torarne/.nvm/versions/node/v24.8.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1052:22)
18 verbose stack     at #buildDepStep (/Users/torarne/.nvm/versions/node/v24.8.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:917:35)
18 verbose stack     at #buildDeps (/Users/torarne/.nvm/versions/node/v24.8.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:769:30)
18 verbose stack     at Arborist.buildIdealTree (/Users/torarne/.nvm/versions/node/v24.8.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:182:28)
18 verbose stack     at async Promise.all (index 1)
18 verbose stack     at async Arborist.reify (/Users/torarne/.nvm/versions/node/v24.8.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:126:5)
18 verbose stack     at async Install.exec (/Users/torarne/.nvm/versions/node/v24.8.0/lib/node_modules/npm/lib/commands/install.js:150:5)
19 error code EUNSUPPORTEDPROTOCOL
20 error Unsupported URL Type "workspace:": workspace:*
21 silly unfinished npm timer reify 1757671188581
22 silly unfinished npm timer reify:loadTrees 1757671188582
23 silly unfinished npm timer idealTree:buildDeps 1757671190123
24 silly unfinished npm timer idealTree:#root 1757671190124
25 verbose cwd /Users/torarne/dev/gitbutler
26 verbose os Darwin 25.0.0
27 verbose node v24.8.0
28 verbose npm  v11.6.0
29 verbose exit 1
30 verbose code 1
31 error A complete log of this run can be found in: /Users/torarne/.npm/_logs/2025-09-12T09_59_48_487Z-debug-0.log

Does the docs page already exist? Please link to it.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docsImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions