nodejs.org ui-components local dev error

Open Beginner friendly
#9,162 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
nodejs, typescript

Research direction

Start with packages/ui-components/README.md and reproduce the documented npm link steps from a consumer such as doc-kit. Compare the failing npm workflow with the pnpm override shown in the report. Done means the local-development instructions work for the documented consumer or clearly explain the required linking configuration.

Written by the indexing model from the issue text.

Description

https://github.com/nodejs/nodejs.org/blob/main/packages/ui-components/README.md

In another terminal, still in nodejs.org/packages/ui-components
npm link

Error:

~/Documents/Work/Projects/forks/nodejs/doc-kit (main)
$ npm link @node-core/ui-components
npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "workspace:": workspace:*

For pnpm cunsumer: add overrides in pnpm-workspace.yaml

overrides:
  '@node-core/ui-components': link:../nodejs.org/packages/ui-components
Dominant language
TypeScript
Stars
6.9k
Forks
6.5k
Avg merge
2d 9h
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nodejs/nodejs.org

All issues in nodejs/nodejs.org

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.