Installing kibana on a windows server

Attempting to install kibana on my elasticsearch node and get the following error:

PS C:\Users\user> C:\kibana-4.2.0-windows\bin\kibana.bat
module.js:338
throw err;
^
Error: Cannot find module 'C:\kibana-4.2.0-windows\src\cli'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3

Any ideas?

Thanks,
Jason

1 Like

I have exactly the same problem, did you find a solution yet?

Thanks!

What version of kibana are you trying to install?

I'm trying to run the latest version, 4.3.1

What is the correct path for your kibana install, and does your error also say that it was looking directly inside C:\ ?

I've extracted kibana to C:\tools\kibana, and the output when I try to run is:
module.js:338
throw err;
^
Error: Cannot find module 'C:\tools\kibana\src\cli'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3

which is correct as the 'src' directory doesn't exist there:

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----         5-1-2016     14:06                bin
d-----         5-1-2016     14:06                config
d-----       16-12-2015     09:55                installedPlugins
d-----         5-1-2016     14:06                node
d-----         5-1-2016     15:40                node_modules
-a----         5-1-2016     14:06            563 LICENSE.txt
-a----         5-1-2016     15:40            782 package.json
-a----         5-1-2016     14:06           2266 README.txt

I wonder if there was an error while extracting the archive. It seems to have missed both src and webpackShims after README.txt.

Can you try downloading and extracting again?

1 Like

Oh wow I have no idea how that happened, the right folders are in the zip file. All works good now, thanks!