From 3e710fbdf57e99f05d43990f0570018c2917396e Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 14 Dec 2024 08:56:38 +0200 Subject: [PATCH] fix(build): linux server failing due to missing legacy deps --- bin/copy-trilium.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh index ca2acf674..a9961847e 100755 --- a/bin/copy-trilium.sh +++ b/bin/copy-trilium.sh @@ -44,7 +44,7 @@ cp -R "$script_dir/../build/src" "$DIR" cp "$script_dir/../build/electron-main.js" "$DIR" # run in subshell (so we return to original dir) -(cd $DIR && npm install --omit=dev) +(cd $DIR && npm install --omit=dev --legacy-peer-deps) if [[ -d "$DIR"/node_modules ]]; then # cleanup of useless files in dependencies