常见npm报错解决方法 DoubleCheese 2021-05-25 253 阅读1分钟 全局安装模块时,error An unexpected error occurred: Request failed "404 Not Found"". 因为之前安装过的全局模块地址不存在了,但是全局yarn.lock中还有相关记录 yarn global dir rm yarn.lock