Installation of node-red-contrib-wazo-platform

Hello,

I had a problem installing node-red-contrib-wazo-platform. I have this:

npm i node-red-contrib-wazo-platform
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -2
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/manuquentin/getStats.git
npm ERR! enoent 
npm ERR! enoent 
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

Same thing going through the interface.

I use a debian, Node-red V3 and Node-js V14.

Does anyone have an idea?

Thank you in advance for your help.

As the error suggests, it cannot find git. The solution is
sudo apt install git
Packages should not really be requiring git to install, not without saying so on the readme at least.

... especially ones that are collecting stats about your connection... sounds like it is in beta at best.

After installing git it works, thanks for the idea, I would not have thought of it.

Error messages tend to be cryptic, but if you read them carefully there is often enough information there to work out what the problem is.

1 Like

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