hitsthings / istanbul-proxy Goto Github PK
View Code? Open in Web Editor NEWRun Istanbul on JS, and report back on coverage
License: MIT License
Run Istanbul on JS, and report back on coverage
License: MIT License
On most sites I visit, I receive a content encoding error and they do not load, this usually happens right after favicon.ico is logged on the output ( not sure if that is logged on request or serve)
On my websites that I've built with node, it works, however crashes after a single point.
https://gist.github.com/raadad/5810285
ill have a look as well and see if I can figure out whats going on
I get the following error when I try to run the proxy:
C:\...\node_modules\istanbul-proxy\lib\istanbul-proxy.js:190
staticServer = connect.static(reportDir);
^
TypeError: Object function createServer() {
function app(req, res, next){ app.handle(req, res, next); }
merge(app, proto);
merge(app, EventEmitter.prototype);
app.route = '/';
app.stack = [];
return app;
} has no method 'static'
Your package.json specifies using the latest version of various dependencies, and I don't think connect ships with the static middleware any longer. Those dependencies should be tied down to a major version, at least.
I am getting following error on the server when I try to hit any website after setting Istanbul Proxy on the browser :
events.js:160
throw er; // Unhandled 'error' event
^
Error: socket hang up
at createHangUpError (_http_client.js:253:15)
at Socket.socketOnEnd (_http_client.js:345:23)
at emitNone (events.js:91:20)
at Socket.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
On Browser (Firefox), I get 'Content Encoding Error'.Can someone help me with the Issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.