Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Unsupported URL Type "workspace:": workspace:* #1890

Description

@ShutdownRepo

Description

Got this error after running npm install

Now using node v23.10.0 (npm v11.3.0)
npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "workspace:": workspace:*
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-05-09T19_00_50_274Z-debug-0.log

This is caused by package.json using the workspace: protocol, a change made in 17e5a6e

TriliumNext Version

latest

What operating system are you using?

Other Linux

What is your setup?

Local (no sync)

Operating System Version

Linux exegol-triliumnext-test 6.13.7-orbstack-00283-g9d1400e7e9c6 TriliumNext/Trilium#4993 SMP Mon Mar 17 06:15:48 UTC 2025 aarch64 GNU/Linux

Error logs

[...]
231 silly packumentCache full:https://registry.npmjs.org/chokidar cache-miss
232 http cache https://registry.npmjs.org/chokidar 3ms (cache hit)
233 silly packumentCache full:https://registry.npmjs.org/chokidar set size:253451 disposed:false
234 verbose stack Error: Unsupported URL Type "workspace:": workspace:*
234 verbose stack     at unsupportedURLType (/root/.nvm/versions/node/v23.10.0/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:369:15)
234 verbose stack     at fromURL (/root/.nvm/versions/node/v23.10.0/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:428:13)
234 verbose stack     at Function.resolve (/root/.nvm/versions/node/v23.10.0/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:110:12)
234 verbose stack     at #nodeFromEdge (/root/.nvm/versions/node/v23.10.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1050:22)
234 verbose stack     at #buildDepStep (/root/.nvm/versions/node/v23.10.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:915:35)
234 verbose stack     at async Arborist.buildIdealTree (/root/.nvm/versions/node/v23.10.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:182:7)
234 verbose stack     at async Promise.all (index 1)
234 verbose stack     at async Arborist.reify (/root/.nvm/versions/node/v23.10.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:130:5)
234 verbose stack     at async Install.exec (/root/.nvm/versions/node/v23.10.0/lib/node_modules/npm/lib/commands/install.js:149:5)
234 verbose stack     at async Npm.exec (/root/.nvm/versions/node/v23.10.0/lib/node_modules/npm/lib/npm.js:208:9)
235 error code EUNSUPPORTEDPROTOCOL
236 error Unsupported URL Type "workspace:": workspace:*
237 silly unfinished npm timer reify 1746817148664
238 silly unfinished npm timer reify:loadTrees 1746817148666
239 silly unfinished npm timer idealTree:buildDeps 1746817148673
240 silly unfinished npm timer idealTree:#root 1746817148673
241 verbose cwd /opt/tools/triliumnext
242 verbose os Linux 6.13.7-orbstack-00283-g9d1400e7e9c6
243 verbose node v23.10.0
244 verbose npm  v11.3.0
245 verbose exit 1
246 verbose code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions