yarn install 提示 An unexpected error occurred: "https://regitry.npm.org/mpvue: Hostname/IP doesn't ma

由于yarn的源是npm

https://registry.npm.taobao.orgget

 

而npm的源是yarn

https://registry.npm.orgco

 

查看npm的源config

npm config get registryps

 

修改npm源gis

 

npm config set registry https://registry.npm.taobao.org

 

而后就很乖的开始安装了

相关文章
相关标签/搜索