Tried to install Karma
npm install -g karma
A warning is issued.
npm WARN optional dep failed, continuing fsevents@0.3.5
In the end, it seems that Karma is not established
karma init karma.config.js
'karma' is not recognized as an internal or external command (so a windows installation).
However, it seems that in your pocket there is
C:\Users\Me\AppData\Roaming\npm\node_modules\karma
and file builerror.log
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:103:14)
gyp ERR! stack at c:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11
gyp ERR! stack at Object.oncomplete (evalmachine.<anonymous>:108:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Me\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws
gyp ERR! node -v v0.10.36
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
Do i need to install python to work with karma or is there something else wrong? Thanks in advance for your help!
source
share