# Kibana Build "ERROR \[bootstrap\] failed":

**URL:** <https://discuss.elastic.co/t/kibana-build-error-bootstrap-failed/259776>\
**Category:** Kibana\
**Created:** [December 29, 2020, 7:47am UTC](https://discuss.elastic.co/t/kibana-build-error-bootstrap-failed/259776 "2020-12-29T07:47:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhruvil\_Doshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhruvil_doshi/32/50639_2.png) [@Dhruvil\_Doshi](https://discuss.elastic.co/u/Dhruvil_Doshi)\
**Post date:** [December 29, 2020, 7:47am UTC](https://discuss.elastic.co/t/kibana-build-error-bootstrap-failed/259776/1 "2020-12-29T07:47:07Z")

</div>

I have downloaded kibana 7.10 from Github. I am not able to build kibana. After running,

> yarn kbn bootstrap

I am getting below error.

```auto
yarn run v1.22.5
$ node scripts/kbn bootstrap
 info [kibana] running yarn

$ node ./preinstall_check
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "schema-utils@1.0.0" is incompatible with requested version "schema-utils@^0.3.0"
warning Resolution field "typescript@4.0.2" is incompatible with requested version "typescript@~3.7.2"
warning Resolution field "typescript@4.0.2" is incompatible with requested version "typescript@^3.3.3333"
warning Resolution field "typescript@4.0.2" is incompatible with requested version "typescript@^3.2.2"
warning Resolution field "typescript@4.0.2" is incompatible with requested version "typescript@^3.0.3"
warning Resolution field "typescript@4.0.2" is incompatible with requested version "typescript@^3.4.5"
success Already up-to-date.

 succ yarn.lock analysis completed without any issues
 succ 23 bootstrap builds are cached
 info [kibana] running [kbn:bootstrap] script
 info [x-pack] running [kbn:bootstrap] script
ERROR [bootstrap] failed:
ERROR Error: Command failed with exit code 1: C:\Program Files (x86)\Yarn\bin\yarn.js run kbn:bootstrap
      Native extraction module not loaded, msgpackr will still run, but with decreased performance. No native build was found for platform=win32 arch=ia32 runtime=node abi=64 uv=1 libc=glibc node=10.22.1

      C:\Users\dhruv\Desktop\ELK-Github\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=win32 arch=ia32 runtime=node abi=64 uv=1 libc=glibc node=10.22.1
          loaded from: C:\Users\dhruv\Desktop\ELK-Github\kibana\node_modules\lmdb-store

          at Function.load.path (C:\Users\dhruv\Desktop\ELK-Github\kibana\node_modules\node-gyp-build\index.js:59:9)
          at load (C:\Users\dhruv\Desktop\ELK-Github\kibana\node_modules\node-gyp-build\index.js:21:30)
          at Object.<anonymous> (C:\Users\dhruv\Desktop\ELK-Github\kibana\node_modules\lmdb-store\index.js:7:49)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
          at Module.load (internal/modules/cjs/loader.js:653:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
          at Function.Module._load (internal/modules/cjs/loader.js:585:3)
          at Module.require (internal/modules/cjs/loader.js:692:17)
          at Module.Hook._require.Module.require (C:\Users\dhruv\Desktop\ELK-Github\kibana\node_modules\require-in-the-middle\index.js:80:39)
      error Command failed with exit code 1.
      $ node scripts/build_ts_refs && node scripts/register_git_hook
      info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
          at makeError (C:\Users\dhruv\Desktop\ELK-Github\kibana\packages\kbn-pm\dist\index.js:25140:11)
          at handlePromise (C:\Users\dhruv\Desktop\ELK-Github\kibana\packages\kbn-pm\dist\index.js:24075:26)
          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.

```

Please help me with above error. Let me know if you need more information.

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [December 29, 2020, 6:14pm UTC](https://discuss.elastic.co/t/kibana-build-error-bootstrap-failed/259776/2 "2020-12-29T18:14:41Z")

</div>

Hey @Dhruvil_Doshi, when I see `arch=ia32` it makes me thing you might be using a 32-bit processor. Is that the case?

---

<div class="post-metadata">

**Author:** ![Dhruvil\_Doshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhruvil_doshi/32/50639_2.png) [@Dhruvil\_Doshi](https://discuss.elastic.co/u/Dhruvil_Doshi)\
**Post date:** [January 4, 2021, 5:19am UTC](https://discuss.elastic.co/t/kibana-build-error-bootstrap-failed/259776/3 "2021-01-04T05:19:49Z")

</div>

Hello @spalger,  
I have checked my system is using 64 bit processor.

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [January 4, 2021, 4:07pm UTC](https://discuss.elastic.co/t/kibana-build-error-bootstrap-failed/259776/4 "2021-01-04T16:07:28Z")

</div>

Interesting, are there any other errors you received previously but fixed? We have several people who develop Kibana full-time on Windows and I just verified that I'm able to bootstrap the 7.10 branch on Windows 10 without issue.

My setup might differ from yours:

- git installed via installer from [git-scm.com](http://git-scm.com)
- node installed via [Chocolatey](https://chocolatey.org/), running `choco install nodejs --version 10.22.1` in an admin powershell
- running `yarn kbn bootstrap` in a Git Bash shell. We use several bash commands in our repo so Git Bash is required.

Would you mind attempting using a similar setup and see if that works?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 1, 2021, 4:07pm UTC](https://discuss.elastic.co/t/kibana-build-error-bootstrap-failed/259776/5 "2021-02-01T16:07:36Z")

</div>

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