Closed itotoo closed 3 years ago
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 下载,安装,启动,访问,就报错
正常首页
线上包
同样的报错 望解决
升级一下依赖?
看起来是包发的出问题了
卸载重装好了,具体原因不知
🐛 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 下载,安装,启动,访问,就报错
🏞 期望结果
正常首页
💻 复现代码
线上包
© 版本信息
🚑 其他信息