From 4e69df05e67ee113eed3ff5cce333ff533944b17 Mon Sep 17 00:00:00 2001 From: Alexander Gil Date: Sun, 21 Jan 2024 03:21:46 +0100 Subject: [PATCH] fix(server): Build with npm install dependencies --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4e8444d..47813fb 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ worker: ## build worker binary build-%: @echo "Building dist/transcoder-$*" @if [ "$*" = "server" ]; then \ - cd server/web/ui && npm run build; \ + cd server/web/ui && npm install --production && npm run build; \ cd -; \ fi @CGO_ENABLED=0 go build -o dist/transcoder-$* $*/main.go