npm下载依赖失败,清除node缓存。 1、设置私服。 2、删除 node_modules。 3、删除 package-lock.json。 4、执行 npm cache verify 清除缓存。 5、最后重新 npm install。