[BUG] Docker build local 404 `faiss-node`
Describe the bug
docker build, new image failed.
To Reproduce Steps to reproduce the behavior:
-
git clone https://github.com/FlowiseAI/Flowise.git -
cd Flowise -
docker build -t flowise --no-cache . - See error
Expected behavior Error
prebuild-install info begin Prebuild-install version 7.1.1
prebuild-install info looking for local prebuild @ prebuilds/faiss-node-v0.2.0-napi-v8-linuxmusl-x64.tar.gz
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/33888e-faiss-node-v0.2.0-napi-v8-linuxmusl-x64.tar.gz
prebuild-install http request GET https://github.com/ewfian/faiss-node/releases/download/v0.2.0/faiss-node-v0.2.0-napi-v8-linuxmusl-x64.tar.gz
prebuild-install http 404 https://github.com/ewfian/faiss-node/releases/download/v0.2.0/faiss-node-v0.2.0-napi-v8-linuxmusl-x64.tar.gz
prebuild-install warn install No prebuilt binaries found (target=8 runtime=napi arch=x64 libc=musl platform=linux)
sh: cmake-js: not found
[email protected] build
Setup
- OS:
Linux - Browser:
chrome
Additional context
https://github.com/ewfian/faiss-node/releases/download/v0.2.0/faiss-node-v0.2.0-napi-v8-linuxmusl-x64.tar.gz , there is no faiss-node-v0.2.0-napi-v8-linuxmusl-x64.tar.gz.
thanks for the bug! Raised an issue there - https://github.com/ewfian/faiss-node/issues/12
might have to temporarily revert the faiss addition
temporarily reverted Faiss changes. Should be working fine now.
Leaving this issue open until we have a fix on faiss-node
@HenryHengZJ It has been fixed on faiss-node side and the new version was released.
@ewfian thank you for the fix!
#257 is now added back and merged 💯