Hey guys,
I'm having problem where geckodriver throws an error while installing dependency for Kibana.
My current environment is as follows:
Kibana Version : 7.2.0
Node version: 10.15.2
npm version: 5.8.2
yarn version: 1.21.1
To install dependency my using yarn kbn bootstrap
.
Currently I'm getting this errors.
error /home/user/node_modules/geckodriver: Command failed.
Exit code: 1
Command: node index.js
Arguments:
Directory: /home/user/node_modules/geckodriver
Output:
Downloading geckodriver... Extracting...
events.js:174
throw er; // Unhandled 'error' event
^
HTTPError: Response code 403 (Forbidden)
at EventEmitter.<anonymous> (/home/user/node_modules/geckodriver/node_modules/got/index.js:192:24)
at EventEmitter.emit (events.js:189:13)
at Immediate.<anonymous> (/home/user/node_modules/geckodriver/node_modules/got/index.js:58:8)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
Emitted 'error' event at:
at EventEmitter.<anonymous> (/home/user/node_modules/geckodriver/node_modules/got/index.js:192:10)
[bootstrap] failed:
Error: Command failed: yarn install --non-interactive
at makeError (/home/user/packages/kbn-pm/dist/index.js:13876:9)
at Promise.all.then.arr (/home/user/packages/kbn-pm/dist/index.js:13980:16)
at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Things that i have tried.
- cleaning the node_modules
yarn kbn clean
and reinstalling the dependency withyarn kbn bootstrap