ant-design / ant-design/pro-components
🧐[问题] ProForm cannot find module '../../../../utils/src' or its corresponding type declarations
Open
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
问题描述:
更新 @antd-desogn/procomponents 版本 2.6.28 到2.6.49 在build的时候pro-form模块下的 FormItermRender组件类型文件路径导入出错。 请问如何解决

Contributor guide
Research direction
Reproduce the build with @antd-design/procomponents versions 2.6.28 and 2.6.49, focusing on the pro-form FormItermRender type declaration and its import of '../../../../utils/src'. Compare the generated type-file paths between versions; done means the build resolves the module and its type declarations without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100