nodejs.org ui-components local dev error
未关闭
适合新手
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 6.9k
- 派生
- 6.5k
- 平均合并
- 2 天 8 小时
- 30 天内合并 PR
- 29
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 packages/ui-components/README.md 开始,以 doc-kit 这样的 consumer 为例,复现文档中记录的 npm link 步骤。将失败的 npm 工作流与报告中所示的 pnpm override 进行比较。当本地开发说明能够对文档中的 consumer 正常工作,或清楚说明所需的 linking 配置时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- nodejs, typescript
- 领域
- developer-experience
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 70/100