I am not able to install using npm
Getting an installation issue while trying to install with npm.
@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 **************************************************************
I'm also getting the same issue.
I'm also getting the same issue.
@jaymehta-ce install visual studio build tool with c++ env as @yoshoku mentioned the size will be around 4 to 6 gb i think
Already installed but still getting the same error. Are there any specific node version required?
Installed the tools, still facing the issue.
@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.
Think I figured it out, you need to install Visual Studio.
