Hello,
I've just download the latest kibana from Github and running on Ubuntu 18.04.
I am following the setup process (Getting started | Kibana Guide [7.12] | Elastic), but I have an error when I run yarn kbn bootstrap
There following is the output of the above command:
yarn run v1.22.10
$ node scripts/kbn bootstrap
succ [bazel_tools] all bazel tools are correctly installed
info [bazel] INFO: Invocation ID: 09901931-a065-4859-afbd-12f3fb29768c
info [bazel] INFO: Analyzed target //packages:build (1 packages loaded, 139 targets configured).
info [bazel] INFO: Found 1 target...
info [bazel] Target //packages:build up-to-date:
info [bazel] bazel-bin/packages/elastic-datemath/npm_module
info [bazel] bazel-bin/packages/elastic-eslint-config-kibana/npm_module
info [bazel] bazel-bin/packages/elastic-safer-lodash-set/npm_module
info [bazel] bazel-bin/packages/kbn-ace/npm_module
info [bazel] bazel-bin/packages/kbn-analytics/npm_module
info [bazel] bazel-bin/packages/kbn-apm-config-loader/npm_module
info [bazel] bazel-bin/packages/kbn-apm-utils/npm_module
info [bazel] bazel-bin/packages/kbn-babel-code-parser/npm_module
info [bazel] bazel-bin/packages/kbn-babel-preset/npm_module
info [bazel] bazel-bin/packages/kbn-config/npm_module
info [bazel] bazel-bin/packages/kbn-config-schema/npm_module
info [bazel] bazel-bin/packages/kbn-crypto/npm_module
info [bazel] bazel-bin/packages/kbn-dev-utils/npm_module
info [bazel] bazel-bin/packages/kbn-es/npm_module
info [bazel] bazel-bin/packages/kbn-eslint-import-resolver-kibana/npm_module
info [bazel] bazel-bin/packages/kbn-eslint-plugin-eslint/npm_module
info [bazel] bazel-bin/packages/kbn-expect/npm_module
info [bazel] bazel-bin/packages/kbn-legacy-logging/npm_module
info [bazel] bazel-bin/packages/kbn-logging/npm_module
info [bazel] bazel-bin/packages/kbn-plugin-generator/npm_module
info [bazel] bazel-bin/packages/kbn-securitysolution-constants/npm_module
info [bazel] bazel-bin/packages/kbn-securitysolution-io-ts-utils/npm_module
info [bazel] bazel-bin/packages/kbn-securitysolution-utils/npm_module
info [bazel] bazel-bin/packages/kbn-securitysolution-es-utils/npm_module
info [bazel] bazel-bin/packages/kbn-std/npm_module
info [bazel] bazel-bin/packages/kbn-telemetry-tools/npm_module
info [bazel] bazel-bin/packages/kbn-tinymath/npm_module
info [bazel] bazel-bin/packages/kbn-utility-types/npm_module
info [bazel] bazel-bin/packages/kbn-utils/npm_module
info [bazel] INFO: Elapsed time: 5.107s, Critical Path: 0.63s
info [bazel] INFO: 1 process: 1 internal.
info [bazel]
succ yarn.lock analysis completed without any issues
succ 16 bootstrap builds are cached
info [kibana] running [kbn:bootstrap] script
ERROR [bootstrap] failed:
ERROR Error: Command failed with exit code 1: /home/ubuntu/.nvm/versions/node/v14.16.1/lib/node_modules/yarn/bin/yarn.js run kbn:bootstrap
/home/ubuntu/kibana/node_modules/node-gyp-build/index.js:59
throw new Error('No native build was found for ' + target + '\n loaded from: ' + dir + '\n')
^
Error: No native build was found for platform=linux arch=x64 runtime=node abi=83 uv=1 libc=glibc node=14.16.1
loaded from: /home/ubuntu/kibana/node_modules/lmdb-store
at Function.load.path (/home/ubuntu/kibana/node_modules/node-gyp-build/index.js:59:9)
at load (/home/ubuntu/kibana/node_modules/node-gyp-build/index.js:21:30)
at Object.<anonymous> (/home/ubuntu/kibana/node_modules/lmdb-store/index.js:7:49)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at Module.Hook._require.Module.require (/home/ubuntu/kibana/node_modules/require-in-the-middle/index.js:80:39)
at Module.Hook._require.Module.require (/home/ubuntu/kibana/node_modules/require-in-the-middle/index.js:80:39)
error Command failed with exit code 1.
$ node scripts/build_ts_refs --ignore-type-failures
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
at makeError (/home/ubuntu/kibana/packages/kbn-pm/dist/index.js:35193:11)
at handlePromise (/home/ubuntu/kibana/packages/kbn-pm/dist/index.js:34104:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async /home/ubuntu/kibana/packages/kbn-pm/dist/index.js:9013:9
at async scheduleItem (/home/ubuntu/kibana/packages/kbn-pm/dist/index.js:22723:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I was wondering if any have seen this issue before and how to fix it?
Mike