ELK 6.5 Windows, APM Server 6.6.1
Just wanted to try out APM in a small NodeJS app and was surprised to find it asking for python. This is not listed as a dependency nor a requirement when installing APM so I was wondering: Does APM require Python on the client and if so why??
C:\xyz\Work\JavaScript\express-test>npm install elastic-apm-node --save
> dtrace-provider@0.8.7 install C:\xyz\Work\JavaScript\express-test\node_modules\dtrace-provider
> node-gyp rebuild || node suppress-error.js
C:\xyz\Work\JavaScript\express-test\node_modules\dtrace-provider>if not defined npm_config_node_gyp (node "C:\Users\z22\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\z22\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
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 PythonFinder.failNoPython (C:\Users\z22\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\z22\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack at C:\Users\z22\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:154:21)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\\prg\\nodejs\\node.exe" "C:\\Users\\z22\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\xyz\Work\JavaScript\express-test\node_modules\dtrace-provider
gyp ERR! node -v v10.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN mytest@1.0.0 No description
npm WARN mytest@1.0.0 No repository field.