did the 3 installation steps went well?
the command for the node check is: node -v
after that
sudo apt-get update
sudo apt-get install build-essential git
and then
cd /home/pi
mkdir pimatic-app
npm install pimatic --prefix pimatic-app --production
502 error
did the 3 installation steps went well?
the command for the node check is: node -v
after that
sudo apt-get update
sudo apt-get install build-essential git
and then
cd /home/pi
mkdir pimatic-app
npm install pimatic --prefix pimatic-app --production
As far as I can see , went the three steps well. But still do I get the same error when I try to check the node version and when I try to install pimatic with the npm command: invalid instruction.
The response to what commands would-be you like to see?
starting at ‘wget https://nodejs.org/dist/v10.22.0/node-v10.22.0-linux-armv7l.tar.gz -P /tmp’
untill the errors
From that point on there was a lot of output in my Putty screen. Is there a smart way to capture it all at once?
And the starting point is not available in my putty screen anymore.
Okay I made a copy of the screen output as far as available. It is 2000 lines in total. Are you sure you want this in this reply?
No, "/usr/local $ " is the response of the rpi.
So the lines I used were “cd /home/pi” and “/usr/bin/env node --version”…
“Invalid instruction”…
Yes it does.
Because you tried to install a wrong node version (node 12, etc) it’s better to start over.
I would suggest to make a fresh buster installation again (should go faster now) and install node 10.20.0, pimatic etc. The buster lite version seems best choice, you can use a keyboard/monitor to set the wifi and the ssh.
Okay, I’ll do that tomorrow. Thanks for your help.