mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 15:46:39 +08:00
fix pack
This commit is contained in:
parent
9fa4ed27bb
commit
7185111cb5
@ -21,7 +21,7 @@
|
||||
"@hello-pangea/dnd": "^16.5.0",
|
||||
"@next-auth/prisma-adapter": "^1.0.7",
|
||||
"@next/third-parties": "^14.1.0",
|
||||
"@prisma/client": "5.11.0",
|
||||
"@prisma/client": "5.12.1",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
"@vercel/analytics": "^1.1.2",
|
||||
"@vercel/speed-insights": "^1.0.9",
|
||||
@ -80,7 +80,7 @@
|
||||
"postcss": "^8.4.33",
|
||||
"prettier": "^3.2.4",
|
||||
"prettier-plugin-tailwindcss": "^0.5.11",
|
||||
"prisma": "^5.11.0",
|
||||
"prisma": "^5.12.1",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"typescript": "^5.3.3",
|
||||
|
13
start.sh
13
start.sh
@ -1,11 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
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 cache clean
|
||||
yes | yarn install
|
||||
yarn install
|
||||
yarn run build
|
||||
|
||||
mkdir -p "./node_modules/tiktoken"
|
||||
|
Loading…
Reference in New Issue
Block a user