Upgrade to Node v18 / npm v8
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- build-system, tooling
调研方向
首先,使用 Node v18.1.0 和 npm v8.8.0 在一个全新的 clone 中复现报告的失败,然后检查项目的依赖声明,确认 React 18 和 @radix-ui/react-dropdown-menu 的版本。只要一次全新的 npm install 能够解析依赖树且不再出现报告中的 ERESOLVE 错误,就算完成。
由索引模型根据 Issue 内容生成。
描述
Hi everyone,
When I try to npm install after fresh clone, I get the following error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: contentlayer-docs@0.1.0
npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR! react@"18.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8 || ^17.0" from @radix-ui/react-dropdown-menu@0.1.6
npm ERR! node_modules/@radix-ui/react-dropdown-menu
npm ERR! @radix-ui/react-dropdown-menu@"^0.1.6" from the root project
I'm using node v18.1.0 (npm v8.8.0)
Does anyone has the same problem?
- 主要语言
- TypeScript
- 星标
- 132
- 派生
- 56
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
contentlayerdev/website 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 35/100
contentlayerdev/website#113 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
contentlayerdev/website#110 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
contentlayerdev/website#105 · 5 条评论 ·
-
page: blog
难度 2/5 1-3 小时 新手友好度 48/100
contentlayerdev/website#97 ·
-
documentation
难度 4/5 3-5 天 新手友好度 35/100
contentlayerdev/website#96 ·
查看 contentlayerdev/website 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
bcgov/bc-wallet-mobile#4761 · 1 条评论 ·
-
external-issue to-triage
难度 2/5 1-3 小时 新手友好度 88/100
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
refactor
难度 2/5 1-3 小时 新手友好度 84/100