diff --git a/shell/share.sh b/shell/share.sh index 403804a1..95b5f3a0 100755 --- a/shell/share.sh +++ b/shell/share.sh @@ -271,6 +271,7 @@ npm_install_2() { cd $dir_work echo -e "安装 $dir_work 依赖包...\n" + npm config set registry https://registry.npmmirror.com npm_install_sub cd $dir_current }