Gekko Forum
Error: Cannot find module '/root/gekko' - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Technical Support (https://forum.gekko.wizb.it/forum-19.html)
+--- Thread: Error: Cannot find module '/root/gekko' (/thread-56571.html)



Error: Cannot find module '/root/gekko' - Krokodil - 03-15-2018

Hi, 

I am a new Gekko user.

I was backtesting for a few days, then tried to do a paper trade when gekko crashed.

on restart i get this:

root@41RRG5F:~# node gekko --ui

module.js:549
    throw err;
    ^

Error: Cannot find module '/root/gekko'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3


Any idea what went wrong?


RE: Error: Cannot find module '/root/gekko' - Krokodil - 03-15-2018

stupid me
cd gekko


RE: Error: Cannot find module '/root/gekko' - jiminy - 05-29-2019

Hi I'm new to gekko. My problem happened at the last stage of installation. After running this command "node gekko --ui" 

I got this error:

jiminys-Mini:exchange rick$ node gekko --ui
internal/modules/cjs/loader.js:584
    throw err;
    ^

Error: Cannot find module '/Users/rick/Public/appsevo.co.uk/gekko/exchange/gekko'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
    at Function.Module._load (internal/modules/cjs/loader.js:508:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
jiminys-Mini:exchange rick$ websocket -v
-bash: websocket: command not found

This error is similar to yours. 

Please can you explain what the issue is and how you fixed yours.

Thanks for any help.


RE: Error: Cannot find module '/root/gekko' - jiminy - 05-30-2019

Damn!!! Of course!!!

I should of applied the command from the location of gekko directory.

All good.