umi: [Bug] I Can't run project Ant Design Pro
What happens?
When I “npm run dev” i found this bug

Mini Showcase Repository(REQUIRED)
Please provide a repository using
yarn create @umijs/umi-appthen upload to your GitHub 请提供一个可复现的仓库,使用yarn create @umijs/umi-app创建,并上传到你的 GitHub 仓库
How To Reproduce
Steps to reproduce the behavior: 1. 2.
yarn create umi myApp
npm install
npm run dev
Expected behavior 1. 2.
Context
- Umi Version: 3.2.14
- Node Version: 14.16.0
- Platform: linux, windows, I tested on both environments
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 19 (5 by maintainers)
我也遇到了这个问题,今天新创建的ant design pro项目无法启动。
对比了一下之前创建的ant design pro旧项目,旧项目在启动时会创建src/.umi并执行,今天的新项目会同时在src目录和根目录创建 .umi文件夹(并执行?) 执行根目录下的.umi会报错,因为代码里相对路径都是不对的,找不到src目录的的文件
尝试拿旧项目的yarn.lock来重新安装依赖,成功启动
我们有同样的问题
We have the same issue. While webpack the project, it generate two .umi files. One is in project level, the other one is in src folder. 我们有同样的问题