Update Problem with node-red-contrib-netatmo 0.3.0

Hi Guys,

i'm unable to update the node-red-contrib-netatmo 0.3.0 package. i receive this failure:

2022-01-16T12:33:44.597Z installieren : node-red-contrib-netatmo 0.3.0

2022-01-16T12:33:44.663Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production node-red-contrib-netatmo@0.3.0
2022-01-16T12:33:52.517Z [err] npm
2022-01-16T12:33:52.518Z [err]  ERR! code ENOENT
2022-01-16T12:33:52.518Z [err] npm ERR! syscall spawn git
2022-01-16T12:33:52.518Z [err] npm ERR! path git
2022-01-16T12:33:52.518Z [err] npm
2022-01-16T12:33:52.518Z [err]  ERR! errno
2022-01-16T12:33:52.518Z [err]  ENOENT
2022-01-16T12:33:52.526Z [err] npm 
2022-01-16T12:33:52.526Z [err] ERR! enoent Error while executing:
2022-01-16T12:33:52.526Z [err] npm ERR! enoent
2022-01-16T12:33:52.526Z [err]  undefined ls-remote -h -t http://github.com/floetenbaer/netatmo.git
2022-01-16T12:33:52.526Z [err] npm ERR! enoent 
2022-01-16T12:33:52.526Z [err] npm 
2022-01-16T12:33:52.526Z [err] ERR! enoent 
2022-01-16T12:33:52.526Z [err] npm ERR!
2022-01-16T12:33:52.526Z [err]  enoent spawn git ENOENT
2022-01-16T12:33:52.526Z [err] npm
2022-01-16T12:33:52.526Z [err]  ERR! enoent This is related to npm not being able to find a file.
2022-01-16T12:33:52.527Z [err] npm ERR! enoent 
2022-01-16T12:33:52.537Z [err] 
2022-01-16T12:33:52.537Z [err] npm ERR! A complete log of this run can be found in:
2022-01-16T12:33:52.537Z [err] npm ERR!
2022-01-16T12:33:52.537Z [err]      /home/pi/.npm/_logs/2022-01-16T12_33_52_529Z-debug.log
2022-01-16T12:33:52.550Z rc=1

Do anybody have a idea?

Greets Peter

I think it is saying that git is not installed. Did you see the recommendations in the node-red docs for installing on a pi where it says to run
sudo apt install build-essential git curl

1 Like

Hi Colin,

thank you very much! :+1:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.