报错信息详情: 4058的错误这样解决: 参照这个:https://blog.csdn.net/qq_39511525/article/details/83028799 通过config命令 npm config set registry https://registry.npm.taobao.org npm info underscore (如果上面配置正确这个命令会有字符串response) 命令行指定 npm --registry