Error in 'yarn kbn bootstrap'


(Chris Fischer) #1

I'm trying to follow the instructions in setting up the Kibana development environment, but yarn kbn bootstrap is failing on installing dependencies in [@kbn/es]. Installing on Ubuntu 16.04. Here is the yarn-error.log

Installing dependencies in [@kbn/es]:

[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
error An unexpected error occurred: "Reduce of empty array with no initial value".
info If you think this is a bug, please open a bug report with the information provided in "/home/cfischer/kibana/packages/kbn-es/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

[bootstrap] failed:

Error: Command failed: yarn install --non-interactive --mutex file
    at makeError (/home/cfischer/kibana/packages/kbn-pm/dist/index.js:44877:9)
    at Promise.all.then.arr (/home/cfischer/kibana/packages/kbn-pm/dist/index.js:44982:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

(Tim Roes) #2

That unfortunately is an issue in yarn 1.7.0. Since the fix seems not to have been released yet. I fear the only solution around that is actually downgrading to an older yarn version.

Cheers,
Tim


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.