...
npm config set registry https://registry.npmmirror.com
npm install gitbook-plugin-search-pro --registry=https://registry.npmmirror.com
2.拉取不到国外github资源
临时设置代理
export HTTPS_PROXY=https://192.168.1.106:7890 && export http_proxy=https://192.168.1.106:7890
npm config set proxy https://192.168.1.106:7890