Browse Source

run `npm install` on build

Jeffrey Morgan 1 year ago
parent
commit
da52f5bfdd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/build_darwin.sh

+ 1 - 0
scripts/build_darwin.sh

@@ -10,6 +10,7 @@ rm dist/ollama-darwin-amd64 dist/ollama-darwin-arm64
 codesign --deep --force --options=runtime --sign "$APPLE_IDENTITY" --timestamp dist/ollama
 
 # build and sign the mac app
+npm install --prefix app
 npm run --prefix app make:sign
 cp app/out/make/zip/darwin/universal/Ollama-darwin-universal-${VERSION:-0.0.0}.zip dist/Ollama-darwin.zip