(02-18-2018, 02:22 PM)gward Wrote: I've followed everything in this post but I'm getting the same error. I cannot import, gekko throws an error. I believe it's the same sqlite3 error.
I have build essential 12.3, nodejs 8.9.
pi@raspberrypi:~ $ sudo npm i -g sqlite3 --unsafe-perm
> sqlite3@3.1.13 install /usr/lib/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws....arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@8.9.4 (node-v57 ABI) (falling back to source compile with node-gyp)
make: Entering directory '/usr/lib/node_modules/sqlite3/build'
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c
TOUCH Release/obj.target/deps/action_before_build.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3150000/sqlite3.o
I fixed it. I run gekko on Windows 10 lol. I think there's an issue with node 8.9 and most current sqlite on raspian.