Not able to download geckodriver. Could you provide me pointers on how to debug this and fix it?
I am getting the below error message
$> npm install geckodriver --save-dev npm WARN deprecated [email protected]: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
[email protected] postinstall C:\dev\regression\selenium-cucumber\node_modules\geckodriver node index.js
Downloading geckodriver... events.js:183 throw er; // Unhandled 'error' event ^ RequestError: getaddrinfo ENOTFOUND github.com github.com:443 at ClientRequest. (C:\dev\regression\selenium-cucumber\node_modules\got\index.js:69:21) at Object.onceWrapper (events.js:315:30) at emitOne (events.js:116:13) at ClientRequest.emit (events.js:211:7) at TLSSocket.socketErrorListener (_http_client.js:387:9) at emitOne (events.js:116:13) at TLSSocket.emit (events.js:211:7) at emitErrorNT (internal/streams/destroy.js:64:8) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall:
node index.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Also, is there an option to exclude a dependency in npm install?