Coder Social home page Coder Social logo

Comments (7)

Lukem121 avatar Lukem121 commented on May 18, 2024 1

Think I figured it out, you need to install Visual Studio.

https://visualstudio.microsoft.com/downloads/

from hnswlib-node.

yoshoku avatar yoshoku commented on May 18, 2024

@lucky-9 As indicated in the error message, to install node-gyp on which hnsw-node depends, you need to install the build tools: https://github.com/nodejs/node-gyp#on-windows

npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************

from hnswlib-node.

jaymehta-ce avatar jaymehta-ce commented on May 18, 2024

I'm also getting the same issue.
image

from hnswlib-node.

obaidmuneer avatar obaidmuneer commented on May 18, 2024

I'm also getting the same issue. image

@jaymehta-ce install visual studio build tool with c++ env as @yoshoku mentioned the size will be around 4 to 6 gb i think

from hnswlib-node.

jaymehta-ce avatar jaymehta-ce commented on May 18, 2024

Already installed but still getting the same error. Are there any specific node version required?

from hnswlib-node.

lucky-9 avatar lucky-9 commented on May 18, 2024

Installed the tools, still facing the issue.

from hnswlib-node.

yoshoku avatar yoshoku commented on May 18, 2024

@lucky-9 @jaymehta-ce
I do not have a Windows PC so I do not know, but the node-gyp documentation says you also need to install Python from the Microsoft Store package, and if that does not work, further reference documentation is shown:
https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#compiling-native-addon-modules

This is not an hnsw-node issue, but a node-gyp issue, so please ask in a node-gyp repository or on stack overflow.

from hnswlib-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.