ant-design / ant-design-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
https://pro.ant.design
MIT License
36.5k stars 8.14k forks source link

🐛[BUG]编译启动,后报错, #8115

Closed itotoo closed 3 years ago

itotoo commented 3 years ago

🐛 bug 描述

TypeError: _interopRequireWildcard is not a function ./node_modules/@ant-design/icons/lib/icons/SmileOutlined.js ./node_modules/@ant-design/icons/lib/icons/SmileOutlined.js:12

9 | }); 10 | exports.default = void 0; 11 | 12 | var React = _interopRequireWildcard(require("react")); 13 | 14 | var _SmileOutlined = _interopRequireDefault(require("@ant-design/icons-svg/lib/asn/SmileOutlined")); 15 |

📷 复现步骤

antdpro v4/v5 下载,安装,启动,访问,就报错

🏞 期望结果

正常首页

💻 复现代码

线上包

© 版本信息

🚑 其他信息

mrchenxxx commented 3 years ago

同样的报错 望解决

chenshuai2144 commented 3 years ago

升级一下依赖?

看起来是包发的出问题了

itotoo commented 3 years ago

卸载重装好了,具体原因不知