Kibana installation from source code

Hi!

i was working on kibana source installation and i went through the following steps:

git clone GitHub - elastic/kibana: Your window into the Elastic Stack kibana
cd kibana
nvm install "$(cat .node-version)"
npm install
npm run elasticsearch

i am getting the error

kibana@7.0.0-alpha1 elasticsearch /root/kibana
grunt esvm:dev:keepalive

Loading "Gruntfile.js" tasks...ERROR

Error: Cannot find module 'core-js/modules/es6.typed.array-buffer'
Warning: Task "esvm:dev:keepalive" not found. Use --force to continue.

Aborted due to warnings.

npm ERR! Linux 3.10.0-123.el7.x86_64
npm ERR! argv "/root/.nvm/versions/node/v6.11.1/bin/node" "/root/.nvm/versions/node/v6.11.1/bin/npm" "run" "elasticsearch"
npm ERR! node v6.11.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! kibana@7.0.0-alpha1 elasticsearch: grunt esvm:dev:keepalive
npm ERR! Exit status 3

Please help me out.

You will need to nvm use the node version after installing it.

Based on the stack trace, appears the node version is correct. It's failing starting Elasticsearch. This might be due to Java not being available. See https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html for more information.

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