Closed sarwarcse closed 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.
See #83
Thanks Molant.. it solved..
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)