npm install antd的时候一直报错:
npm ERR! cb() never called!
\
npm ERR! <npm.community>
\
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Program Files\nodejs\node_global_logs\2022-09-07T09_43_02_469Z-debug.log
\
解决方法:
1.升级npm:
npm install npm -g
2.清除之前的安装缓存:
npm cache clean --force
3.重新:
npm install antd
成功