First Start Error module.js:550
#1
I got this error after following the installation steps. I am running this on CentOS 7 and NodeJS v8.12.0. I have tried to completely delete gekko and try again and I got the same error.
Just tried to install on Windows Server 2016 with NodeJS v8.12.0 and I got the same error.


module.js:550
    throw err;
    ^

Error: Cannot find module '/root/gekko/exchange/gekko'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3
  Reply
#2
Hi Branson,

I am total gekko noob so apologies if this is no help, but here are some basics that might assist -

module.js:550
throw err;
^

Find the file called module.js and have a look at line 550. Does that give you any hints on what might be wrong?

I assume this error is from the CentOS version -

Error: Cannot find module '/root/gekko/exchange/gekko'

Does that file/path exist?

If that error is from the Windows version then that's probably your issue... that's a Linux path! Smile

Hth,

Cubit.
  Reply
#3
Sorry about that the error on windows is the same except the file path. On windows that line says Error: Cannot find module 'C:\Users\BrantekAdmin\Documents\gekko-stable\exchange\gekko'

The gekko folder in the exchange folder doesn't exist on either of my machines or the GitHub.
  Reply
#4
Okay... let's go back a step. Have you followed the guide here?

https://gekko.wizb.it/docs/installation/...ndows.html

Did it all go okay? Any errors?
  Reply
#5
I tried to post the command output here but it was marked as spam so I put it on pastebin.
https://pastebin.com/2XRJkDn5
It doesn't look like there is any errors there but I could be wrong.
  Reply
#6
Okay.. I agree there don't appear to be any errors in there!

I have gekko-stable from a few weeks ago. I tried the same as you and got a different output - I didn't see any reference to sqlite3. I just downloaded the latest gekko-stable and now I see what you are seeing!

I haven't gone any further... I would first advise trying gekko-develop version (which is what I ended up running instead of gekko-stable) and see if that works any better for you! Smile
  Reply
#7
https://github.com/askmike/gekko/issues/2546

I needed to run node gekko --ui from the gekko (or gekko-stable) folder instead of from gekko/exchange.
  Reply
#8
Ah yes... now you say that I do recall that the first time I tried it! Glad you got it sorted.
  Reply
#9
I have updated the documentation to include the `cd ..` step!
  Reply


Forum Jump:


Users browsing this thread: