Closed vijtad closed 10 years ago
Ah thanks, I'll investigate it.
In have the same error on Win7/x64.
I've changed git
to git+https
and remove install
script entry.
I'll setup windows environment and fix it.
:+1: same issue here (windows 8.1) A fix is expected in the comming days?
@Guuz Yeah, I've now constructed my windows environment and this has reproduced. I'll fix it soon. Sorry for the inconvenience
@4kochi @Guuz @dnutels @sorich87
I've fixed and released 1.0.1! Super thanks for your bug report!
ref karma-runner/karma-coverage#40
It works! :+1: Thanks a bunch for the quick fix!
When I tried to install Karma-coverage version 0.1.3, I get following error
'make' is not recognized as an internal or external command, operable program or batch file.
npm ERR! ibrik@0.0.4 build:
make -f tools/task.mk build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ibrik@0.0.4 build script. npm ERR! This is most likely a problem with the ibrik package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! make -f tools/task.mk build npm ERR! You can get their info via: npm ERR! npm owner ls ibrik npm ERR! There is likely additional logging output above. npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "run-script" "build" npm ERR! cwd C:\Users\Vijay\AppData\Roaming\npm\node_modules\karma-coverage\node _modules\ibrik npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.14 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Users\Vijay\AppData\Roaming\npm\node_modules\karma-coverage\node _modules\ibrik\npm-debug.log npm ERR! not ok code 0 npm ERR! ibrik@0.0.4 install:npm run-script build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ibrik@0.0.4 install script. npm ERR! This is most likely a problem with the ibrik package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! npm run-script build npm ERR! You can get their info via: npm ERR! npm owner ls ibrik npm ERR! There is likely additional logging output above.npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "karma-coverage" npm ERR! cwd C:\Users\Vijay\karma-coverage-karma-0.11\karma-coverage-karma-0.11 npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.14 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Users\Vijay\karma-coverage-karma-0.11\karma-coverage-karma-0.11\ npm-debug.log npm ERR! not ok code 0
This is because of ibrik dependency specifying its dep through git protocol: https://github.com/Constellation/ibrik/blob/master/package.json
I think they should use https rather than git, you can file issue at https://github.com/Constellation/ibrik/issues/new That said, it installs fine on Mac/Linux.
In the meantime, you can install previous version of karma-coverage - npm install -g karma-coverage@0.1.2 (as long as you don't need to generate coverage for coffee script, which has been added in 0.1.3).