My pi2 recently died (will not power on) so I tried to install pimatic on my old pi. I did a fresh install following instructions (https://pimatic.org/guide/getting-started/installation/) and I got this error on running pimatic…
let val = process.env[key];
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
I have tried a few things to troubleshoot this and also tried an raspbian VM with the same result to check it was not pi 1.
npm is 2.15.11
node is v4.6.2
OS is Raspbian GNU/Linux 9 (stretch)
Does anyone know if there is a step missing from the instructions?