Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 3e710fb

Browse files
committed
fix(build): linux server failing due to missing legacy deps
1 parent adf6762 commit 3e710fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/copy-trilium.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ cp -R "$script_dir/../build/src" "$DIR"
4444
cp "$script_dir/../build/electron-main.js" "$DIR"
4545

4646
# run in subshell (so we return to original dir)
47-
(cd $DIR && npm install --omit=dev)
47+
(cd $DIR && npm install --omit=dev --legacy-peer-deps)
4848

4949
if [[ -d "$DIR"/node_modules ]]; then
5050
# cleanup of useless files in dependencies

0 commit comments

Comments
 (0)