From cb1929a2453eaca8fd8cb3b724c8cc6b10dd81ef Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Sat, 1 Aug 2020 11:50:30 +0200 Subject: [PATCH] does npm install fix this? Signed-off-by: Martyn Ranyard --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1d9e877..11a79a2 100755 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ build: go build ${LDFLAGS} build-frontend: - cd build/react-frontend && npm run build + cd build/react-frontend && npm install && npm run build rm -rf web/react-frontend ; mkdir -p web/react-frontend cp -r build/react-frontend/build/* web/react-frontend/