I'm trying to run Kibana v6.2.4 from source.
I downloaded the rpm file and updated the kibana.yml file to point to the correct ES cluster but it keeps throwing the same error.
I'm using ES v6.2.4, Kibana v6.2.4 on centOS 7.4
$ usr/share/kibana/bin/kibana
FATAL CLI ERROR Error: Cannot find module './$data'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/kibana632/usr/share/kibana/node_modules/ajv/lib/ajv.js:10:23)
at Module._compile (module.js:652:30)
at Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/home/kibana632/usr/share/kibana/node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/kibana632/usr/share/kibana/node_modules/schema-utils/dist/validateOptions.js:15:12)
at Module._compile (module.js:652:30)
at Module._extensions..js (module.js:663:10)