原因是npm源指向的问题 执行: npm config set registry https://registry.npmjs.org/ 补充: windows管理npm最好安装nvm-windows,很方便。 还可以使用 nrm管理npm源 相关文章: