Closed sanjeevmajgotra closed 9 years ago
I think this PR might solve your problem: https://github.com/r3b/grunt-protractor-coverage/pull/28 I released it as v0.2.13 on npm
I am getting this below error when i run the grunt file.Could you please help me in this. C:\Users\Administrator\Desktop\grunt-protractor-coverage-master>grunt Running "clean:tests" (clean) task
3 paths cleaned.
Running "copy:instrument" (copy) task Created 12 directories, copied 7 files
Running "instrument" task OK OK OK OK OK OK OK OK OK OK OK
Running "connect:server" (connect) task Started connect web server on http://0.0.0.0:3000
Running "protractor_coverage:local" (protractor_coverage) task
Collector started on port 3001
Using the selenium server at http://localhost:4444/wd/hub
[launcher] Error: Error: ECONNREFUSED connect ECONNREFUSED
at ClientRequest.
Test failed but keep the grunt process alive. Shutdown requested
Running "makeReport" task ---------- | ----------- | ----------- | ----------- | ----------- | File | % Stmts | % Branches | % Funcs | % Lines |
---|---|---|---|---|---|---|---|---|---|
---------- | ----------- | ----------- | ----------- | ----------- | |||||
All files | 100 | 100 | 100 | 100 | |||||
---------- | ----------- | ----------- | ----------- | ----------- |
OK
Running "coveralls:main" (coveralls) task [error] "2014-11-27T18:51:14.187Z" 'error from lcovParse: ' 'Failed to parse st ring' [error] "2014-11-27T18:51:14.187Z" 'input: ' '' [error] "2014-11-27T18:51:14.187Z" 'error from convertLcovToCoveralls'
Failed to submit 'reports/lcov.info' to coveralls: Failed to parse string WARNING: Failed to submit coverage results to coveralls
Done, without errors.
I can able to solve my issue.Thanks for providing this project as an example.This project helps a lot
Hi,
I am getting the below error while running "Running "coveralls:main" (coveralls)" task.please help me.
Five Zero Zero </h1> <div class="alert alert-error"> <h3>It's Gone Pear Shaped</h3> <p>There has been a hiccup, the revolution will continue after we
stamp out the refusniks. You could also try refreshing or returning to the home page.
</div>
</div>
</div>
<footer class="footer">
<div class="pad">
<a href="/info/legal">Legal & Privacy</a>
·
<a href="https://github.com/lemurheavy/coveralls-public/issues">Open
an Issue · FEEDBACK or THOUGHTS · BLOG
© 2013 Lemur Heavy Industries
</div>
</footer>
I'm new to nodejs programming so please help me out here. I'm not able to execute the deafult gruntfile included in Window's seven environement. The basic error i'm getting is 1) Exception loading: C:\Users\AppData\Local\Temp\1415630349701.6733 Error
Message:
Error: Cannot find module 'coverage-collector'
Stacktrace:
Error: Cannot find module 'coverage-collector'
at require (module.js:380:17)
at Object. (C:\Users\majgotra\AppData\Local\Temp\1415630349701.6733:3:1)
. But I've checked inside the local node_modules folder and the coverage-collector folder is there. I've even tried deleting and then reinstalling it but nothing helped. PFB the full stack trace
Running "jshint:all" (jshint) task
Running "clean:tests" (clean) task Cleaning "instrumented"...OK Cleaning "coverage"...OK Cleaning "reports"...OK
Running "copy:instrument" (copy) task Created 12 directories, copied 7 files
Running "instrument" task OK OK OK OK OK OK OK OK OK OK OK
Running "connect:server" (connect) task Started connect web server on http://0.0.0.0:3000
Running "protractor_coverage:local" (protractor_coverage) task Collector started on port 3001 Using the selenium server at http://localhost:4444/wd/hub Exception loading: C:\Users\majgotra\AppData\Local\Temp\1415630482346.2195 Error - fail
Failures:
1) Exception loading: C:\Users\majgotra\AppData\Local\Temp\1415630482346.2195 Error Message: Error: Cannot find module 'coverage-collector' Stacktrace: Error: Cannot find module 'coverage-collector' at require (module.js:380:17) at Object. (C:\Users\majgotra\AppData\Local\Temp\1415630482346.2195:3:1)
Finished in 0.007 seconds 1 test, 1 assertion, 1 failure
OK
Running "coveralls:main" (coveralls) task
Can you please help