切换为默认源
npm config set registry https://registry.npmjs.org
切换为淘宝源
npm config set registry https://registry.npm.taobao.org
开发鸿蒙应用时切换为华为源
npm config set registry https://repo.huaweicloud.com/repository/npm/
切换为默认源
npm config set registry https://registry.npmjs.org
切换为淘宝源
npm config set registry https://registry.npm.taobao.org
开发鸿蒙应用时切换为华为源
npm config set registry https://repo.huaweicloud.com/repository/npm/
本文标题:npm默认源 淘宝源切换
本文链接:https://www.haomeiwen.com/subject/lievpktx.html
网友评论