I ran into a problem trying to start pimatic for the first time, the output is:
“17:56:29.015 [pimatic] Starting pimatic version 0.8.91
17:56:37.862 [pimatic] Startup error: Error: Cannot find module '/home/pi/pimatic-app/node_modules/sqlite3/lib/binding/node-v11-linux-arm/node_sqlite3.node’
17:56:37.862 [pimatic]> at Function.Module._resolveFilename (module.js:338:15)
17:56:37.862 [pimatic]> at Function.Module._load (module.js:280:25)
17:56:37.862 [pimatic]> at Module.require (module.js:364:17)
17:56:37.862 [pimatic]> at require (module.js:380:17)
17:56:37.862 [pimatic]> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/sqlite3/lib/sqlite3.js:4:15)
17:56:37.862 [pimatic]> at Module._compile (module.js:456:26)
17:56:37.862 [pimatic]> at Object.Module._extensions…js (module.js:474:10)
17:56:37.862 [pimatic]> at Module.load (/home/pi/pimatic-app/node_modules/pimatic/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
17:56:37.862 [pimatic]> at Function.Module._load (module.js:312:12)
17:56:37.862 [pimatic]> at Module.require (module.js:364:17)
17:56:37.862 [pimatic]> at require (module.js:380:17)
17:56:37.862 [pimatic]> at Client_SQLite3.initDriver (/home/pi/pimatic-app/node_modules/pimatic/node_modules/knex/lib/dialects/sqlite3/index.js:41:24)
17:56:37.862 [pimatic]> at new Client_SQLite3 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/knex/lib/dialects/sqlite3/index.js:15:10)
17:56:37.862 [pimatic]> at Function.Knex.initialize (/home/pi/pimatic-app/node_modules/pimatic/node_modules/knex/knex.js:109:15)
17:56:37.862 [pimatic]> at pending.then.then.then._this.framework.on._this.messageLoggedListener.level (/home/pi/pimatic-app/node_modules/pimatic/lib/database.coffee:69:22)
17:56:37.862 [pimatic]> at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/util.js:26:23)
17:56:37.862 [pimatic]> at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:507:31)
17:56:37.862 [pimatic]> at Promise._settlePromiseAt (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:581:18)
17:56:37.862 [pimatic]> at Promise._settlePromiseAtPostResolution (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:245:10)
17:56:37.862 [pimatic]> at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:128:12)
17:56:37.862 [pimatic]> at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:133:10)
17:56:37.862 [pimatic]> at Async.drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:15:14)
17:56:37.862 [pimatic]> at process._tickCallback (node.js:415:13)
17:56:37.862 [pimatic]> at Function.Module.runMain (module.js:499:11)
17:56:37.862 [pimatic]> at startup (node.js:119:16)
17:56:37.862 [pimatic]> at node.js:902:3
17:56:38.096 [pimatic] exiting…
”
I found this topic:http://forum.pimatic.org/topic/91/solved-can-t-start-pimatic-error-during-first-start-sqlite3-installation
And tried what was suggested there, but it goes for a run then hangs and next time I start tpimatic it gives the same error.