From bf53ea8b7fe1812f9e33acb139ff185607d41b11 Mon Sep 17 00:00:00 2001 From: Jannis Baum Date: Sun, 9 Feb 2025 11:49:47 -0500 Subject: [PATCH] feat(#206): remove binary if built with unsupported node version Co-authored-by: Ben Mattes Krusekamp --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c69ed39..882b1d6 100644 --- a/Makefile +++ b/Makefile @@ -76,6 +76,7 @@ $(SERVER_PATH_LINUX): $(BUNDLE_PATH) sea-config.json { \ printf "\n\n\x1b[1;31mYour $(shell command -v node) does not support Node SEA, which is needed to compile Vivify.\x1b[0m\n"; \ printf "\x1b[1;31mPlease install Node.js through Node Version Manager (nvm) and try again.\x1b[0m\n"; \ + rm $(SERVER_PATH_LINUX) \ exit 1; \ } chmod +w $(SERVER_PATH_LINUX)