记使用npm cache clean --force解决Jenkins拉代码的坑 在使用Jenkins拉代码过程中遇到个坑,试了两三次都报错,最后找到了解决办法,在编译部署的Jenkins命令里加上 npm cache clean --force 清空下本地缓存,重新部署即可。