You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
P.s. I know this is an old project, so I'm not relying on this at all. However, the project is on NPM and it doesn't run, so I figured you would want to know.
I get the following error when I try to run the proxy:
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.
The text was updated successfully, but these errors were encountered: