Planeshifter / node-word2vec

Node.js interface to the Google word2vec tool.
Apache License 2.0
348 stars 55 forks source link

post installation script fails on windows. #12

Closed Praggie closed 8 years ago

Praggie commented 8 years ago

I tried to install this package on windows and it failed with following error:

npm ERR! word2vec@1.1.0 postinstall: `make --directory=src`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the word2vec@1.1.0 postinstall script 'make --directory=src'.

npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the word2vec package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     make --directory=src
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs word2vec
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls word2vec
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\rbws\learning\nlp\projects\nlpnode\npm-debug.log
Planeshifter commented 8 years ago

Unfortunately, word2vec does not work on Windows as it relies on make which is not available on that operating system. I will add a note to the README.md file that makes this limitation explicit.