Unable to find usable node.js executable while installing plugin

Hi guys,
I am trying to install a plugin on my kibana usign the bin/kibana-install command and I got this error.
unable to find usable node.js executable.
Kibana Dev Version : 7.4.2
Elasticsearch version: 7.4.2
which node gives => C:/Program Files/nodejs/node.exe
I am able to start the server without any error.
any idea? thanks

Are you running Kibana from source? Files in bin are actually for the distributable and should not be used in development. For development you can just put your plugin inside the ./plugins directory.

Thanks for your reply
Actually I found out why the node executable couldn't be found.
After looking into kibana-plugin.bat and I noticed that the line
set NODE=%DIR%\node\node.exe is setting the node.exe directory to node\node.exe inside kibana project (kinda strange).
While my node.exe was in C:/Program Files/nodejs/node.exe.
So i just copied the node executable to node\node.exe in my kibana project and it worked. I was then able to install the plugin.

1 Like

Again, that is not supposed to be used in development and references the node executable in the distribution.

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