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

 

而後就很乖的開始安裝了

相關文章
相關標籤/搜索