MicrosoftEdge / static-code-scan

Run this quick static code scan on any URL to check for out-of-date libraries, layout issues and accessibility.
Other
1.05k stars 228 forks source link

How can I solve this? Any suggestion? #85

Closed sarwarcse closed 9 years ago

sarwarcse commented 9 years ago

To scan a private url go to http://localhost:1337/ and follow the instructions _http_outgoing.js:333 throw new Error('"name" and "value" are required for setHeader().'); ^ Error: "name" and "value" are required for setHeader(). at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:333:11) at new ClientRequest (_http_client.js:101:14) at Object.exports.request (http.js:49:10) at Request.start (E:\mordern\modern.IE-static-code-scan-master\node_modules\ request\request.js:583:30) at Request.end (E:\mordern\modern.IE-static-code-scan-master\node_modules\re quest\request.js:1237:28) at E:\mordern\modern.IE-static-code-scan-master\node_modules\request\request .js:413:12 at process._tickCallback (node.js:355:11)

molant commented 9 years ago

There is already an issue reporting this and the workaround at the moment is to downgrade to 0.10.36. The scanner doesn't work at the moment with node 0.12

-----Original Message----- From: "sarwarcse" notifications@github.com Sent: ‎3/‎17/‎2015 7:35 AM To: "InternetExplorer/modern.IE-static-code-scan" modern.IE-static-code-scan@noreply.github.com Subject: [modern.IE-static-code-scan] How can I solve this? Any suggetion r(#85)

To scan a private url go to http://localhost:1337/ and follow the instructions _http_outgoing.js:333 throw new Error('"name" and "value" are required for setHeader().'); ^ Error: "name" and "value" are required for setHeader(). at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:333:11) at new ClientRequest (_http_client.js:101:14) at Object.exports.request (http.js:49:10) at Request.start (E:\mordern\modern.IE-static-code-scan-master\node_modules\ request\request.js:583:30) at Request.end (E:\mordern\modern.IE-static-code-scan-master\node_modules\re quest\request.js:1237:28) at E:\mordern\modern.IE-static-code-scan-master\node_modules\request\request .js:413:12 at process._tickCallback (node.js:355:11) — Reply to this email directly or view it on GitHub.

molant commented 9 years ago

See #83

sarwarcse commented 9 years ago

Thanks Molant.. it solved..