From 51e1fdf3663ed634af555a05ce998c0fbcf8394b Mon Sep 17 00:00:00 2001 From: sijinhui Date: Fri, 3 May 2024 17:19:09 +0800 Subject: [PATCH] fix pack --- start.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/start.sh b/start.sh index c8fe40a45..bf178c668 100755 --- a/start.sh +++ b/start.sh @@ -1,15 +1,15 @@ #!/bin/bash set -e # 加速 -yarn config set registry 'https://registry.npmmirror.com/' -yarn config set sharp_binary_host "https://npm.taobao.org/mirrors/sharp" -yarn config set sharp_libvips_binary_host "https://npm.taobao.org/mirrors/sharp-libvips" +#yarn config set registry 'https://registry.npmmirror.com/' +#yarn config set sharp_binary_host "https://npm.taobao.org/mirrors/sharp" +#yarn config set sharp_libvips_binary_host "https://npm.taobao.org/mirrors/sharp-libvips" # 官方 -#yarn config delete registry -#yarn config delete sharp_binary_host -#yarn config delete sharp_libvips_binary_host +yarn config delete registry +yarn config delete sharp_binary_host +yarn config delete sharp_libvips_binary_host -#yarn cache clean +yarn cache clean yarn install #if command -v cnpm &> /dev/null #then