From 90bc75ce8ec5eec5ebc8b241bf3ea0985647a61d Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Fri, 3 Feb 2023 14:54:25 +0800 Subject: [PATCH] 07env-install-centos.sh --- 00base/07env-install-centos.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/00base/07env-install-centos.sh b/00base/07env-install-centos.sh index 82d2b5e..dfbeb24 100644 --- a/00base/07env-install-centos.sh +++ b/00base/07env-install-centos.sh @@ -356,6 +356,7 @@ function init:nodejs() { command::exec "${host}" " curl -fsSL https://rpm.nodesource.com/setup_16.x | sudo bash - yum -y install nodejs + yum -y install npm npm install --global yarn # 配置npm源 npm config set registry https://registry.npm.taobao.org