Error: Cannot find module '/root/gekko'
#1
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?
  Reply
#2
stupid me
cd gekko
  Reply
#3
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.
  Reply
#4
Damn!!! Of course!!!

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

All good.
  Reply


Forum Jump:


Users browsing this thread: