Error npm not recognized

hello please could someone help me
i am following this doc:
http://docs.blynk.cc/#hardware-set-ups-raspberry-pi

to install blynk on my raspberry pi A and getting error something like “npm not recognized”
thanks in advance

1 Like

Hey @armandismael

Can you try to copy and paste the feedback that you receive when you see “npm not recognized”? It may be lengthy but I had similar errors/warnings shown within the terminal after running the sudo npm install -g npm command. I copied and pasted the entire process/output of that command into a notepad file for future use. However, I was able to link my RPi to the “cloud” and turn stuff on/off via phone after following the next scripts/commands/steps, so it shouldn’t be a complete show stopper.

there is no feedback it is just writen: npm is not recognized as an internal or external command
and when i skip this step and run blynk test script it doesn’t work

Whoops, actually it’s not when I run

sudo npm install -g npm

that I get the errors, it’s when I try to run/build the library (the step after the npm install).

If you get the

npm ERR! Error: SSL Error: CERT_NOT_YET_VALID

then you should try the DATE command to set time.

Also, is your RPi up to date? There’s a few things you gotta download and install before stuff works the way it’s intended to. If your RPi is fresh out of the box and you’re trying to install the Blynk Library, you will likely encounter some obstacles.