mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
fix pack
This commit is contained in:
parent
8496085003
commit
51e1fdf366
14
start.sh
14
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
|
||||
|
Loading…
Reference in New Issue
Block a user