mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 08:58:15 +00:00
refactor: n 下载 node 时使用国内镜像
This commit is contained in:
parent
fd1a8c0c19
commit
197745eb88
@ -8,6 +8,9 @@ if [ ! -d "$BUILD_DEST" ]; then
|
||||
fi
|
||||
|
||||
tnpm i -g n
|
||||
# 使用官方源有较大概率会 block
|
||||
export N_NODE_MIRROR=https://npm.taobao.org/mirrors/node
|
||||
|
||||
echo "Switch node version to 14"
|
||||
n 14
|
||||
echo "Node Version"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user