Comments (2)
I think I have the same error for Oracle Cloud - Arm
info REP Build has been failed, trying to do a full rebuild.
npm ERR! info CMD CLEAN
npm ERR! info RUN [
npm ERR! info RUN 'cmake',
npm ERR! info RUN '-E',
npm ERR! info RUN 'remove_directory',
npm ERR! info RUN '/root/node_modules/faiss-node/build'
npm ERR! info RUN ]
npm ERR! info CMD CONFIGURE
npm ERR! info RUN [
npm ERR! info RUN 'cmake',
npm ERR! info RUN '/root/node_modules/faiss-node',
npm ERR! info RUN '--no-warn-unused-cli',
npm ERR! info RUN '-G',
npm ERR! info RUN 'Unix Makefiles',
npm ERR! info RUN '-DCMAKE_JS_VERSION=7.2.1',
npm ERR! info RUN '-DCMAKE_BUILD_TYPE=Release',
npm ERR! info RUN '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/root/node_modules/faiss-node/build/Release',
npm ERR! info RUN '-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded$<$<CONFIG:Debug>:Debug>',
npm ERR! info RUN '-DCMAKE_JS_INC=/root/node_modules/faiss-node/node_modules/node-api-headers/include;/root/node_modules/faiss-node/node_modules/node-addon-api',
npm ERR! info RUN '-DCMAKE_JS_SRC=',
npm ERR! info RUN '-DNODE_RUNTIME=node',
npm ERR! info RUN '-DNODE_RUNTIMEVERSION=18.17.0',
npm ERR! info RUN '-DNODE_ARCH=arm64',
npm ERR! info RUN '-DCMAKE_JS_LIB=',
npm ERR! info RUN '-DCMAKE_CXX_FLAGS=-DBUILDING_NODE_EXTENSION'
npm ERR! info RUN ]
npm ERR! CMake Error at CMakeLists.txt:51 (add_subdirectory):
npm ERR! add_subdirectory given source "deps/faiss" which is not an existing
npm ERR! directory.
npm ERR!
npm ERR!
npm ERR! CMake Error at CMakeLists.txt:52 (set_target_properties):
npm ERR! set_target_properties Can not find target to add properties to: faiss
npm ERR!
npm ERR!
npm ERR! ERR! OMG Process terminated: 1
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-08-02T05_59_52_569Z-debug-0.log
from faiss-node.
@adoin From the log provided, it may have something to do with the network. It needs to get the pre-build binary file from github when installing but failed.
ā prebuild-install http request GET https://github.com/ewfian/faiss-node/releases/download/v0.2.2/faiss-node-v0.2.2-nā¦
ā prebuild-install warn install unable to verify the first certificate
You can manual download the pre-build binary with following steps
- Uninstall
faiss-node
and removenode_modules
folder - Install faiss-node without auto download pre-build binary by adding
--ignore-scripts
npm install faiss-node --ignore-scripts
- Download the corresponding packaged pre-build binary form https://github.com/ewfian/faiss-node/releases
- Uncompress the packaged pre-build binary and copy the files into
node_modules\faiss-node\build\Release
@AlloryDante seems relates to #23, you can try again when new version released.
from faiss-node.
Related Issues (20)
- dlopen Symbol not found error on macOS 10.15.7 and Netlify HOT 1
- Docker Installation Failed HOT 2
- CI: Add import test for docker
- Support for arm64 HOT 7
- Replace prebuild with github cli for upload assets
- CUDA/GPU Support? HOT 1
- Unavailable non-musl ARM64 build HOT 1
- Using Faiss-node in aws having problem working fine locally HOT 16
- Possible to reduce node package size? HOT 6
- Add the option to get the cosine similarity value (score) for each returned label in the search function
- Support remove_ids
- [AWS]Any chance of an arm64 build of the Node.js layer HOT 4
- Ability to encode/decode buffers when FS not available? HOT 4
- Error: faiss-node package.json is not node-pre-gyp ready HOT 1
- No way to get the original vector value from the index
- Docker Build Fails on ARM v7 HOT 3
- Add support for threshold based cosine similarity search
- Does not work without internet connection HOT 1
- Vector store initial
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faiss-node.