vue-element-admin 遇到的问题

git配置淘宝镜像源

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

1.‘vue-cli-service’ 不是内部或外部命令,也不是可运行的程序

npm install -g @vue/cli-service

2.Host key verification failed.

ssh-keygen -R 你要访问的IP地址

3. git访问github.com的资源时 “Please make sure you have the correct access rights and the repository exists.”

重新配置你的ssh
配置完后执行

ssh -T git@github.com

输入yes

4.The unauthenticated git protocol on port 9418 is no longer supported

git config --global url."https://".insteadOf. git://

然后执行

npm install

5.OpenSSL SSL_read: Connection was aborted, , errno 10053

git config --global http.postBuffer 524288000

6.unable to access ‘https://github.com/**.git/‘: Failed to connect 403

执行

git config --global --unset http.proxy 

参考命令

git config --global http.proxy 查询代理

git config --global --unset http.proxy 取消代理

git config --global http.proxy localhost:51525 设置代理

git config --global https.proxy localhost:51525

7.curl 56 OpenSSL SSL_read:SSL_ERROR_sysCALL

git config http.sslVerify "false"