Skip to content

Commit

Permalink
Merge pull request #34 from zebrapurring/fix-dependency-mismatch
Browse files Browse the repository at this point in the history
Fix dependency mismatch
  • Loading branch information
zebrapurring authored Jan 6, 2025
2 parents 17fb9ba + 707dfb4 commit 51ed2d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Scripts/installdependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if [ "$USER" != "$(whoami)" ]; then
fi

# Install Homebrew dependencies
export HOMEBREW_NO_AUTO_UPDATE=1
[ -z "$(which brew)" ] && echo "Homebrew is not installed" && exit 1
brew install \
node \
Expand Down
3 changes: 1 addition & 2 deletions build_pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ build_immich() {
npm --prefix "$dest_dir/open-api/typescript-sdk" run build
npm --prefix "$dest_dir/open-api/typescript-sdk" prune --omit=dev --omit=optional
cp -R "$repo_dir/web" "$dest_dir/"
rm "$dest_dir/web/package-lock.json"
npm --prefix "$dest_dir/web" install --foreground-scripts
npm --prefix "$dest_dir/web" ci
npm --prefix "$dest_dir/web" install --os=darwin --cpu=arm64 sharp
npm --prefix "$dest_dir/web" run build
npm --prefix "$dest_dir/web" prune --omit=dev --omit=optional
Expand Down

0 comments on commit 51ed2d7

Please sign in to comment.