Kibana-6.4 server: unable to find usable node.js executable

(Bhaskar) #1

I downloaded following files from respective releases pages.
node-v8.11.4-x64.msi
npm install -g yarn
Restarted my system.
elasticsearch-6.4.0.zip

Now downloaded kibana-6.4.zip from https://github.com/elastic/kibana/tree/6.4
and ran
<
$yarn kbr bootstrap
/>

Bootstrapping completed!
Then manually ran
elasticsearch.bat
and then
<
$ yarn start

yarn run v1.13.0

$ sh ./bin/kibana --dev
unable to find usable node.js executable.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
/>

Following versions are used
C:\Users\Username>node -v
v8.11.4

C:\Users\Username>npm -v
5.6.0

C:\Users\Username>yarn -v
1.13.0

please help

Thanks

(Jon Budzenski) #2

Hey, a few options under the assmption this is for development:

  1. verify that bash has the node install added to $PATH
  2. use kibana.bat instead, bin/kibana.bat --dev
  3. run node directly - node scripts/kibana --dev

I would suggest the third for simplicity, it'll take batch/sh out of the equation

If you just need to run kibana, elastic.co/downloads => past releases => bin/kibana.bat

(Bhaskar) #3

Thanks Jon

The issue solved just with kibana.bat

(system) closed #4

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