Skip to content

Commit 2f1bf7c

Browse files
committed
fix: fe build cmd
1 parent 58eea54 commit 2f1bf7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build() {
88
cp .env build/
99
go build -o ./build/fusion-server ./cmd/server/* || exit 1
1010
echo "building frontend"
11-
cd ./frontend && npm run build && cp -R ./build/ $root/build/frontend || exit 1
11+
cd ./frontend && npm i && npm run build && cp -R ./build/ $root/build/frontend || exit 1
1212
cd $root || exit 1
1313
}
1414

0 commit comments

Comments
 (0)