前言:antd+react项目运行报错:Cannot find module '@umijs/babel-preset-umi/node'
原因:没有umi这个包or依赖没装好。
解决方案:用yarn装一下,没有yarn就用npm i。