Gekko Forum
sqlite error for gekko v0.6.2 on TinyCore Linux - 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: sqlite error for gekko v0.6.2 on TinyCore Linux (/thread-57372.html)



sqlite error for gekko v0.6.2 on TinyCore Linux - geeklimit - 07-16-2018

cd ~
tce-load -wi git node npm compiletc python
git clone https://github.com/askmike/gekko.git
cd gekko
sudo npm install --only=production


RE: sqlite error for gekko v0.6.2 on TinyCore Linux - geeklimit - 07-16-2018

Pretty sure this is the problem:

gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/tc/gekko/node_modules/sqlite3/build'


root owns /node_modules, everything else in ~/gekko is owned by the tinycore default user, 'tc'.

Gave it a:

sudo chown tc -R ~/gekko/node_modules

then a:

npm install --only=production # no sudo! It needs to run as 'tc'!

And now Gekko fires right up.

*facepalm* sometimes you have to wrote a forum post and be your own second set of eyes...


RE: sqlite error for gekko v0.6.2 on TinyCore Linux - askmike - 07-17-2018

great!