diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh index f62b180a0..05bb4dee9 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 --legacy-peer-deps) +(cd $DIR && npm ci --omit=dev) if [[ -d "$DIR"/node_modules ]]; then # cleanup of useless files in dependencies