出现的问题:
npm ERR! Response timeout while trying to fetch http://registry.npmjs.org/supports-color (over 30000ms)
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\杜金超\AppData\Roaming\npm-cache\_logs\2020-12-13T16_38_28_372Z-debug.log
直接说解决方法:更改npm镜像地址解决,用的是华为云镜像,淘宝镜像试过没成功,大家可以都试试。
切换npm镜像源:点击跳转