node-kafka-native icon indicating copy to clipboard operation
node-kafka-native copied to clipboard

npm install fails on windows

Open Nagasai-Aytha opened this issue 8 years ago • 0 comments

Hi

Getting below error when trying to install kafka-native on my windows machine

gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:449:14) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:404:11 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebui ld" gyp ERR! cwd C:\Users\xxxx\Desktop\node_modules\snappy gyp ERR! node -v v6.9.1 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok

npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. 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 kafka-native package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs kafka-native npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls kafka-native npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

Nagasai-Aytha avatar Dec 15 '17 21:12 Nagasai-Aytha