Skip to content

Commit

Permalink
fix(build): linux server failing due to missing legacy deps
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Dec 14, 2024
1 parent adf6762 commit 3e710fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/copy-trilium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e710fb

Please sign in to comment.