> 固定3.5.22依然报错的,还是需要升级"antd": "^4.20.0",
leo-qa opened this issue · 1 comments
leo-qa commented
> 固定3.5.22依然报错的,还是需要升级"antd": "^4.20.0",
虽然可以通过升级antd解决,但是代码都是基于antd4.17.0的,不保证antd的更新不会产生bug。
- git clone项目
- 将所有npm包版本都固定
- npm install (如果期间报dependency tree问题,需要npm install -f,不建议cnpm安装)
- npm run start
如果已经有项目了,删除node_modules目录重新按照2-4步骤操作。如果Windows提示node_modules被占用,无法删除,简单点可以重启再删除,也可用rimraf包删除。
Originally posted by @wuranxu in #5 (comment)
leo-qa commented