Hi - sorry for the delay. This got buried amongst a bunch of other stuff.
I'm not sure what to suggest here. I just tried with a totally standard install of
2019-09-26-raspbian-buster-lite.imgwhich appears to be the recommended version at the moment, and it works great copying the instructions exactly.
Is it possible you had used
npm installbefore, but with
sudo npm installso that it had set some of its permissions up wrong?
If you don't have anything else on it, I'd imagine a fresh install and following the instructions for the just EspruinoHub and the IDE would work fine.
As far as I remember I tried both with and without sudo. It's quite possible that something got mixed up in the whole NodeJs ecosystem, which I'm not familiar with. I'll try again with a fresh raspian install sometime soon.
It's a node version thing. You can see the error is deprication.
With node it's simple to move to different versions to try. On Mac/Linux use the "n" on windows use "nvm "
it's common to have to switch versions and if that's all your running then the right version fixes all problems.
Switch to 6.0
Hi, I'm trying to get EspruinoHub to work on my RPi.
I'm on Raspbian Stretch and all packages are up to date. No manually installed "special" versions of any kind.
I'm following the steps from here: https://github.com/espruino/EspruinoHub; I'm only interested in the EspruinoHub and Web IDE Part, no need for NODE-RED.
The Setup fails at the "npm install" part with the following errors:
I'm not really familiar with node.js and npm, and I suspect the environment setup is not correct. I installed node & npm from the defailt raspbian repos.