mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-10-17 15:13:52 +00:00
npm禁用ssl校验
This commit is contained in:
@@ -21,6 +21,8 @@ ln -s /usr/local/nodejs/bin/node /usr/local/bin
|
|||||||
ln -s /usr/local/nodejs/bin/npm /usr/local/bin
|
ln -s /usr/local/nodejs/bin/npm /usr/local/bin
|
||||||
# 设置国内淘宝镜像源
|
# 设置国内淘宝镜像源
|
||||||
npm config set registry https://registry.npm.taobao.org
|
npm config set registry https://registry.npm.taobao.org
|
||||||
|
# 禁用ssl验证
|
||||||
|
npm config set strict-ssl false
|
||||||
# 查看设置信息
|
# 查看设置信息
|
||||||
npm config list
|
npm config list
|
||||||
# 验证是否安装成功
|
# 验证是否安装成功
|
||||||
|
Reference in New Issue
Block a user