Cannot install on Raspberry pi2
Hello, it works for me on raspberry pi and other platforms with rock64 if I had a little trouble installing it but in the end I managed it and it works. I will leave you some commands that helped me some, but the important thing is that it works without falling.

sudo apt install sqlite
sudo apt install sqlite3
cd gekko
npm install -g node-gyp --build-from-source
npm install sqlite
npm install sqlite3

//for some strategies used are needed and these
npm install talib --unsafe-perm --build-from-source
npm install tulind --unsafe-perm --build-from-source
npm install tulip --unsafe-perm --build-from-source

//if you tell yourself that you do not have permission to install that you can start these commands with sudo

(in case the above does not work)

It is also important to have version 8 of node installed because with 9 the one that installed ocn command
sudo apt install nodejs
does not work it did not work for me

can be eliminated 
which node  //where the node is installed

rm -r /home/pi/.nvm/versions/node    //in this command you have to replace the position that has left the previous command (the position of node files)

install node   
for raspberry pi (first)
depends your cpu this command is only for the raspberry pi first version
to find the correct version you should know that cpu uses your plate and choose the appropriate version on this website 
cat /proc/cpuinfo  //with this command you discover that cpu has your board

this result came to me:

pi@raspberrypi:~ $ cat /proc/cpuinfo

pi@raspberrypi:~ $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 697.95
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2835
Revision        : 000e
Serial          : 0000000048cdee91

you bought what processor you have in my case it's arm6

//you go to the web

//and you choose which node version is for you replace the file name in all the following queries

//raspeberry pi

cd ~
tar -xzf node-v8.9.4-linux-armv6l.tar.gz
node-v8.9.4-linux-armv6l/bin/node -v
cd node-v8.9.4-linux-armv6l/
sudo cp -R * /usr/local/
export PATH=$PATH:/usr/local/bin
node -v
npm -v

cd ~
tar -xf node-v8.9.4-linux-arm64.tar.gz
node-v8.9.4-linux-arm64/bin/node -v
cd node-v8.9.4-linux-arm64/
sudo cp -R * /usr/local/

export PATH=$PATH:/usr/local/bin
node -v
npm -v

//in some cases I have needed and this later but it should no longer be necessary
sudo apt-get install -y build-essential

and then continue with the commands that you leave at the beginning

couple lover operated the gekko you will need after closing ssh

npm install pm2 -g

pm2 start /home/pi/gekko/gekko.js -f --name gekko -x -- --ui

//then start the gekko (but you have to be sure that gekko's position is in the folder as in my case if it is not)

pm2 save  //save config of pm2 for future reboot will start alone

I am quite a beginner in this I only learned linux when I wanted to install gekko in raspberry and all kinds of problems have come out so I made some notes that happen to you I am not a professional but I hope to have helped people who come well

Messages In This Thread
Cannot install on Raspberry pi2 - by Phil2 - 03-09-2018, 12:30 AM
RE: Cannot install on Raspberry pi2 - by PewQ - 03-09-2018, 02:45 PM
RE: Cannot install on Raspberry pi2 - by gigirk - 03-10-2018, 09:55 AM
RE: Cannot install on Raspberry pi2 - by gward - 03-12-2018, 10:59 PM

Forum Jump:

Users browsing this thread: