ant-design / ant-design/pro-components

🧐[问题]Cannot find module '@ant-design/pro-components'

Open
#8,647 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🧐 问题描述

![image](https://github.com/user-attachments/assets/22f7697f-ffd6-45ce-bbcb-d250202c7b51)
Cannot find module '@ant-design/pro-components' or its corresponding type declarations.ts(2307)
引用会报错。

### 💻 示例代码

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or reproduction steps are provided beyond the reported TypeScript module-resolution error and screenshot. Start by reproducing the import failure, then inspect the project's dependency and TypeScript setup; done means the @ant-design/pro-components import resolves without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.