Failed to build Kibana 6.2.4 from source code

Kibana version: 6.2.4

Elasticsearch version: 6.2.4

Server OS version: Window 10

Browser version: Chrome

Browser OS version: Windows 10

Original install method (e.g. download page, yum, from source, etc.):

Description of the problem including expected versus actual behavior:
Tried to run yarn build to have a local Kibana build. The command is aborted due to warning.

Steps to reproduce:

  1. yarn install
  2. yarn build

Errors in browser console (if relevant):

tmao@tmao-lt1 MINGW64 ~/Sites/elastic/kibana (dev-v6.2.4)
$ yarn build
yarn run v1.6.0
$ grunt build
Running "build" task

Running "clean:build" (clean) task
>> 1 path cleaned.

Running "clean:target" (clean) task
>> 0 paths cleaned.

Running "_build:downloadNodeBuilds" task
>> Downloading windows-x86_64 and corresponding sha
>> Downloading linux-x86_64 and corresponding sha
>> Downloading darwin-x86_64 and corresponding sha
>> darwin-x86_64 downloaded and verified
>> linux-x86_64 downloaded and verified
>> windows-x86_64 downloaded and verified

Running "_build:extractNodeBuilds" task

Running "copy:devSource" (copy) task
Created 691 directories, copied 3026 files

Running "clean:devSourceForTestbed" (clean) task
>> 1 path cleaned.

Running "babel:build" (babel) task

Running "_build:plugins" task

Running "_build:data" task

Running "i18nextract:default_options" (i18nextract) task


Create file: build/i18n_extract/en.json
Statistics : empty: 0 (100%) / Updated: 0 / Deleted: 0 / New: 0

Running "_build:check" task

Running "_build:packageJson" task

Running "_build:readme" task

Running "_build:babelCache" task

Running "_build:installDependencies" task
Warning: Command failed: C:\Users\tmao\Sites\elastic\kibana\tasks\vendor\yarn-1.3.2-with-ignore-fix.js --production --ignore-optional --frozen-lockfil
e
 Use --force to continue.

Aborted due to warnings.
error Command failed with exit code 3.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Provide logs and/or server output (if relevant):
image

Created the same issue on github. https://github.com/elastic/kibana/issues/18783

try running yarn kbn bootstrap instead of yarn install

AFAIK, the kbn command is not available on v6.2.4 branch of Kibana, isn't it?
Otherwise, the yarn build command works on Linux OS.
Thanks.

yes, you are correct. yarn kbn was added starting in 6.3

OK. Then will anyone be working on the fix for v6.2.4?

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