在使用npm cache clear --force清除缓存的时候,报npm WARN using --force Recommended protections disabled的错误,有可能是镜相源过期的问题
解决方案
1.可能是npm版本过高的问题
npm install npm@6.14.10 -g
2.可以试试这个方法
npm cache verify
在使用npm cache clear --force清除缓存的时候,报npm WARN using --force Recommended protections disabled的错误,有可能是镜相源过期的问题
解决方案
1.可能是npm版本过高的问题
npm install npm@6.14.10 -g
2.可以试试这个方法
npm cache verify