Gekko Forum
Gekko not installing correct - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Technical Discussion (https://forum.gekko.wizb.it/forum-23.html)
+--- Thread: Gekko not installing correct (/thread-57658.html)



Gekko not installing correct - Jollybv - 09-18-2018

Hi There

I have been trying to install gekko but with no luck i get the following 

added 244 packages from 907 contributors and audited 520 packages in 18.398s
found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

PS C:\Users\Brian\Downloads\gekko-develop\gekko-develop> npm audit fix
up to date in 1.531s
fixed 0 of 1 vulnerability in 520 scanned packages
  1 package update for 1 vuln involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)
PS C:\Users\Brian\Downloads\gekko-develop\gekko-develop> npm audit fix --force
npm WARN using --force I sure hope you know what you are doing.
+ lodash@4.17.11
updated 1 package in 2.395s
fixed 1 of 1 vulnerability in 520 scanned packages
  1 package update for 1 vuln involved breaking changes
  (installed due to `--force` option)
PS C:\Users\Brian\Downloads\gekko-develop\gekko-develop> node gekko --ui

    ______   ________  __    __  __    __   ______
   /      \ /        |/  |  /  |/  |  /  | /      \
  /$$$$$$  |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$  |
  $$ | _$$/ $$ |__    $$ |/$$/  $$ |/$$/  $$ |  $$ |
  $$ |/    |$$    |   $$  $$<   $$  $$<   $$ |  $$ |
  $$ |$$$$ |$$$$$/    $$$$$  \  $$$$$  \  $$ |  $$ |
  $$ \__$$ |$$ |_____ $$ |$$  \ $$ |$$  \ $$ \__$$ |
  $$    $$/ $$       |$$ | $$  |$$ | $$  |$$    $$/
   $$$$$$/  $$$$$$$$/ $$/   $$/ $$/   $$/  $$$$$$/

        Gekko v0.6.6
        I'm gonna make you rich, Bud Fox.


Serving Gekko UI on http://localhost:3000/

  <-- GET /api/imports
  --> GET /api/imports 200 0ms 2b
  <-- GET /api/gekkos
  --> GET /api/gekkos 200 0ms 24b
  <-- GET /api/apiKeys
  --> GET /api/apiKeys 200 0ms 2b
  <-- GET /api/exchanges
  xxx GET /api/exchanges 500 0ms -

  TypeError: _.last(...).join is not a function
      at exchangesDir.filter.f (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\web\routes\exchanges.js:17:31)
      at Array.filter (<anonymous>)
      at Object.module.exports (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\web\routes\exchanges.js:17:6)
      at module.exports.next (<anonymous>)
      at Object.dispatch (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\node_modules\koa-router\lib\router.js:334:5)
      at dispatch.next (<anonymous>)
      at onFulfilled (C:\Users\Brian\Downloads\gekko-develop\gekko-develop\node_modules\co\index.js:65:19)
      at <anonymous>

when i run node gekko --ui it goes to the web page but if i go to local data and go to imports there is no currency, no exchanges, and no assets.


Is there a way to resolve this issue


RE: Gekko not installing correct - cubit - 09-18-2018

You have broken it with npm --audit fix force. I know that because I did that myself!

Try it without that part! Smile

Also from your output you are missing the gekko broker's dependency installation which will explain your lack of exchanges! Smile

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


RE: Gekko not installing correct - Piff_Sara - 12-23-2018

so you guys just ignored the vulnerability in order to proceed with the installation?

If yes, even if you ignore the vulnerability, are you able to proceed with the installation of the Broker's dependencies?

I m installing gekko on windows

Cheers!


RE: Gekko not installing correct - askmike - 12-23-2018

Quote:so you guys just ignored the vulnerability in order to proceed with the installation?

Yes, ignore it.

Longer story: that vulnerability comes from NPM, it's complaining about a problem in a dependency that can be potentially be exploited. But Gekko doesn't use that dependency in a way where it can be exploited. Obviously still something we need to fix. It's on my todo list to update Gekko usage of these dependencies.

Quote:If yes, even if you ignore the vulnerability, are you able to proceed with the installation of the Broker's dependencies?

Yes if you have also installed git (see the installation guide) and a recent version of nodejs (preferably LTS release).


RE: Gekko not installing correct - Piff_Sara - 12-24-2018

thx a looot!
PS merry christmas to everybody!
Smile