소스 검색

07env-install-centos.sh

lizw 2 년 전
부모
커밋
90bc75ce8e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      00base/07env-install-centos.sh

+ 1 - 0
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