-
-
Notifications
You must be signed in to change notification settings - Fork 50.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在mac上,项目正常运行,整个项目拷贝到window电脑,运行就报错:@ant-design/icons/lib/dist 找不到 #26371
Comments
不要这么操作,建议 clone 并重新安装 node_modules。 |
Hello @z-lionel, we use GitHub issues to trace bugs or discuss plans of Ant Design. So, please don't ask usage questions here. You can try to ask questions on Stack Overflow or Segment Fault, then apply tag 你好 @z-lionel,Ant Design Issue 板块是用于 bug 反馈与需求讨论的地方。请勿询问如何使用的问题,你可以试着在 Stack Overflow 或者 Segment Fault 中提问(记得添加 |
我重新删除了node_modules了,在重新yarn了,依然报错。 在 antd/es/icon/index.js 文件里面引用的 ant-design/icons/lib/dist 没有这个文件夹, |
@ant-design/icons 应该和 antd 4 一起使用,请不要混用。 |
|
我也遇到了这个问题:@ant-design/icons/lib/dist 找不到。 |
3.x 自带 @ant-design/icons 2.x 4.x 需要自行安装 @ant-design/icons 4.x |
Reproduction link
umijs/umi#5015
Steps to reproduce
如题
What is expected?
正常运行
What is actually happening?
This dependency was not found:
To install it, you can run: npm install --save @ant-design/icons/lib/dist
The text was updated successfully, but these errors were encountered: