Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[BUG] Docker build local 404 `faiss-node`

Open TechWithRay opened this issue 2 years ago • 4 comments

Describe the bug docker build, new image failed.

To Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/FlowiseAI/Flowise.git
  2. cd Flowise
  3. docker build -t flowise --no-cache .
  4. 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.

TechWithRay avatar May 29 '23 23:05 TechWithRay

thanks for the bug! Raised an issue there - https://github.com/ewfian/faiss-node/issues/12

might have to temporarily revert the faiss addition

HenryHengZJ avatar May 30 '23 14:05 HenryHengZJ

temporarily reverted Faiss changes. Should be working fine now.

Leaving this issue open until we have a fix on faiss-node

HenryHengZJ avatar May 31 '23 14:05 HenryHengZJ

@HenryHengZJ It has been fixed on faiss-node side and the new version was released.

ewfian avatar Jun 05 '23 12:06 ewfian

@ewfian thank you for the fix!

#257 is now added back and merged 💯

HenryHengZJ avatar Jun 05 '23 12:06 HenryHengZJ