ant-design / ant-design/pro-components
🐛[BUG]Module not found: Error: Can't resolve 'rc-util'
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
更新项目 antd 版本到 `^5.21.6`, @ant-design/pro-components 的版本到 `^2.8.1`, 运行项目报错

我查看了一下 rc-util 各自的具体版本号:
antd > rc-util: ^5.43.0
@ant-design/pro-utils > rc-util: ^5.0.6
### 📷 复现步骤
### 🏞 期望结果
### 💻 复现代码
```
"dependencies": {
"@ant-design/icons": "^5.5.1",
"@ant-design/pro-components": "^2.8.1",
"@umijs/max": "^4.3.31",,
"antd": "^5.21.6",
},
```
### © 版本信息
- ProComponents 版本: [^2.8.1]
- umi 版本: [^4.3.31]
Contributor guide
Research direction
Start with the dependency list in the reproduction details and reproduce the build using the stated antd, @ant-design/pro-components, and umi versions. Trace why rc-util cannot be resolved and verify that the project starts without the module-not-found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100