A JavaScript error occurred in the main process

Hi I moved my Windows server 2016 from my old hyper v host to a new one. I am getting the following error after moving it.

A JavaScript error occurred in the main process

Uncaught Exception:
Error Unable to find a valid app
at Object. (C:\ProgramFiles\Storj Share\resources\electronasar\browser\init.js121:9)
at Object, (C:Program Files\Storj
at Module._compile (module.js:569:30)
at Module.Module._extensions…js (mmodule.js.580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:458:3)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:167:16)
at bootstrap_node.js:589:3

Any help would be appreciatedCapture

Storj Share was V2 of Storj which has been shutdown.

Thanks I thought I removed everything having to do with that. Still can’t figure out where its coming from. Is there a tool to run a cleanup for v2?

Nevermind I figured out where I had it starting from. Thanks for identifying that for me. I hadn’t restarted my server in a long time figured it was because I moved it and didn’t realize I had the old storj share still referenced for startup

1 Like