Unsupported URL Type "workspace:": workspace:*
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 345
- Avg merge
- 13h 31m
- Merged PRs (30d)
- 1
Description
I'm hitting an error during `npm install` which is blocking my use of the repository.
## Repro steps
1. Clone the repository
2. Open the directory with the cloned repo
3. Run `npm install`
## Expected
All dependencies are installed
## Observed
```log
311 verbose stack Error: Unsupported URL Type "workspace:": workspace:*
311 verbose stack at unsupportedURLType (/opt/homebrew/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:310:15)
311 verbose stack at fromURL (/opt/homebrew/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:367:13)
311 verbose stack at Function.resolve (/opt/homebrew/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:83:12)
311 verbose stack at #nodeFromEdge (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1039:22)
311 verbose stack at #buildDepStep (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:904:35)
311 verbose stack at async Arborist.buildIdealTree (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:181:7)
311 verbose stack at async Promise.all (index 1)
311 verbose stack at async Arborist.reify (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:131:5)
311 verbose stack at async Install.exec (/opt/homebrew/lib/node_modules/npm/lib/commands/install.js:150:5)
311 verbose stack at async Npm.exec (/opt/homebrew/lib/node_modules/npm/lib/npm.js:207:9)
312 error code EUNSUPPORTEDPROTOCOL
313 error Unsupported URL Type "workspace:": workspace:*
314 silly unfinished npm timer reify 1744322691337
315 silly unfinished npm timer reify:loadTrees 1744322691337
316 silly unfinished npm timer idealTree:buildDeps 1744322691342
317 silly unfinished npm timer idealTree:#root 1744322691342
318 verbose cwd [redacted]
319 verbose os Darwin 24.4.0
320 verbose node v23.11.0
321 verbose npm v10.9.2
322 verbose exit 1
323 verbose code 1
```
Contributor guide
Research direction
Start by reproducing the reported failure with npm install, then inspect the repository's package manifests for the workspace:* dependency references shown in the error. Confirm the dependency setup works with the repository's documented installation flow and that npm install completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100