Giter Club home page Giter Club logo

Comments (7)

ewfian avatar ewfian commented on July 1, 2024 2

Hi @HenryHengZJ Apologize for the delay in resolving this issue. Here are some updates:

The build for arm64 was fixed in CMakeList.txt and it is possible to build the package.

However, The part of uploading pre-built binaries to GitHub release still has something to do. The build for arm64 is very slow (about 4 hours), but the previously used tools prebuild failed easily, I need to replace it with GitHub Actions.

I'm currently facing some environment and configuration issues with GitHub Actions. Unfortunately, I have been occupied with work recently. and, I will be traveling for the next 6 days starting tomorrow. If things goes well, I expect to resolve this issue next week.

from faiss-node.

ewfian avatar ewfian commented on July 1, 2024 1

@HenryHengZJ Thank you for reporting, I am going to deal with it next.

from faiss-node.

ewfian avatar ewfian commented on July 1, 2024 1

@HenryHengZJ The new version was released.

from faiss-node.

ewfian avatar ewfian commented on July 1, 2024

blocked by:

from faiss-node.

HenryHengZJ avatar HenryHengZJ commented on July 1, 2024

hey @ewfian just wondering any progress on this? thanks!

from faiss-node.

michaelerobertsjr avatar michaelerobertsjr commented on July 1, 2024

I just got a macbook pro with an M2 MAX and I am having the same error:

#0 129.2 [5/5] Building fresh packages...
#0 131.3 error /usr/src/packages/node_modules/faiss-node: Command failed.
#0 131.3 Exit code: 127
#0 131.3 Command: prebuild-install --runtime napi --verbose || npm run build
#0 131.3 Arguments:
#0 131.3 Directory: /usr/src/packages/node_modules/faiss-node
#0 131.3 Output:
#0 131.3 prebuild-install info begin Prebuild-install version 7.1.1
#0 131.3 prebuild-install info looking for local prebuild @ prebuilds/faiss-node-v0.2.1-napi-v8-linuxmusl-arm64.tar.gz
#0 131.3 prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/c598fd-faiss-node-v0.2.1-napi-v8-linuxmusl-arm64.tar.gz
#0 131.3 prebuild-install http request GET https://github.com/ewfian/faiss-node/releases/download/v0.2.1/faiss-node-v0.2.1-napi-v8-linuxmusl-arm64.tar.gz
#0 131.3 prebuild-install http 404 https://github.com/ewfian/faiss-node/releases/download/v0.2.1/faiss-node-v0.2.1-napi-v8-linuxmusl-arm64.tar.gz
#0 131.3 prebuild-install warn install No prebuilt binaries found (target=8 runtime=napi arch=arm64 libc=musl platform=linux)
#0 131.3
#0 131.3 > [email protected] build
#0 131.3 > cmake-js compile
#0 131.3
#0 131.3 sh: cmake-js: not found
#0 131.3 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
Dockerfile:27
--------------------
  25 |     COPY packages/server/package.json ./packages/server/package.json
  26 |
  27 | >>> RUN yarn install
  28 |
  29 |     # Copy app source
--------------------
ERROR: failed to solve: process "/bin/sh -c yarn install" did not complete successfully: exit code: 127

from faiss-node.

HenryHengZJ avatar HenryHengZJ commented on July 1, 2024

thanks for looking into it @ewfian!

from faiss-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.