I've recently installed Kibana 5.4.1 on 3 new Windows 2012 R2 servers. On the first server, Kibana install went normally, I installed Kibana as a Windows service using NSSM, the service is functioning normally.
On the other two servers, I get the following error when trying to start Kibana as a service:
Error: EPERM: operation not permitted, open 'D:\Elastic\Kibana\kibana-5.4.1-windows-x86\optimize.babelcache.json'
at Error (native)
at Object.fs.openSync (fs.js:641:18)
at Object.fs.writeFileSync (fs.js:1347:33)
at save (D:\Elastic\Kibana\kibana-5.4.1-windows-x86\node_modules\babel-register\lib\cache.js:45:16)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:393:7)
at startup (bootstrap_node.js:150:9)
at bootstrap_node.js:508:3
fs.js:641
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
I've seen comments online that I may need to use "NPM clean cache" but I can't figure out how to run that command or verify that the problem is cleared.
Is the NPM cache my problem? If not, where else should I be looking?