These are chat archives for buglabs/node-xml2json

Nov 2016
Naitik Soni
Nov 24 2016 06:30

Got an error while installing xml2json on windows

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:\Users\nsoni\AppData\Roaming\nvm\v6.3.1\node_modules\npm\node_modules\node-gyp\lib\configure.js:401:14)
gyp ERR! stack at C:\Users\nsoni\AppData\Roaming\nvm\v6.3.1\node_modules\npm\node_modules\node-gyp\lib\configure.js:356:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\nsoni\AppData\Roaming\nvm\v6.3.1\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\nsoni\Projects\Ingram\vcs-engine\FLOE3-activities\node_modules\node-expat
gyp ERR! node -v v6.3.1
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
vcs-engines@1.0.0 C:\Users\nsoni\Projects\Ingram\vcs-engine\FLOE3-activities
`-- (empty)

npm WARN vcs-engines@1.0.0 No repository field.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "xml2json"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3

npm ERR! node-expat@2.3.15 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-expat@2.3.15 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 node-expat 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 node-expat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-expat
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\nsoni\Projects\Ingram\vcs-engine\FLOE3-activities\npm-debug.log
npm ERR! code 1

Any hack ?