BloopAI / bloop

bloop is a fast code search engine written in Rust.
https://bloop.ai
Apache License 2.0
9.42k stars 573 forks source link

error: failed to run custom build command for `bloop v0.6.3 #1246

Open sgch1982 opened 7 months ago

sgch1982 commented 7 months ago

when i run : npm run start-app output :error: failed to run custom build command for bloop v0.6.3 caused by: process didn't exit successfully:/Users/Documents/myhome/bloop/target/debug/build/bloop-27e30b02a4c3c088/build-script-build` (exit status: 1) --- stdout cargo:rerun-if-env-changed=TAURI_CONFIG cargo:rerun-if-changed=tauri.conf.json cargo:rustc-cfg=desktop cargo:rustc-cfg=dev cargo:rerun-if-changed=bin/qdrant-aarch64-apple-darwin cargo:rerun-if-changed=model/ggml/tokenizer.json cargo:rerun-if-changed=model/ggml/ggml-model-q4_0.bin cargo:rerun-if-changed=model/model.onnx cargo:rerun-if-changed=model/special_tokens_map.json cargo:rerun-if-changed=model/tokenizer.json cargo:rerun-if-changed=model/tokenizer_config.json cargo:rerun-if-changed=model/vocab.txt cargo:rerun-if-changed=dylibs/.keep cargo:rerun-if-changed=config/config.json Library not found: frameworks/libonnxruntime.dylib warning: build failed, waiting for other jobs to finish...

ggordonhall commented 6 months ago

Did you run git lfs install? See https://github.com/BloopAI/bloop/tree/oss/apps/desktop#setup

drewbitt commented 5 months ago

I also got this. git lfs install does not install libonnxruntime.dylib for me. I had to install it myself brew install onnxruntime (and this repo does correctly list it as a dependency) and changed the path in https://github.com/BloopAI/bloop/blob/222a131cf9679cf933327904e06f1e0debc6e207/apps/desktop/src-tauri/tauri.conf.json#L63 to point to my version.