Boas,
não consigo instalar o node-red-contrib-home-assistant, dá-me erro:
pi@raspberrypi:~ $ cd ~/.node-red
pi@raspberrypi:~/.node-red $ npm install node-red-contrib-home-assistant
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/node-red/node-red .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
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-02-23T22_46_42_210Z-debug.log
e o log:
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’,
1 verbose cli ‘/usr/bin/npm’,
1 verbose cli ‘install’,
1 verbose cli ‘node-red-contrib-home-assistant’ ]
2 info using npm@6.8.0
3 info using node@v10.15.1
4 verbose npm-session 73ca0947afa00ab5
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/node-red-contrib-home-assistant 165ms (from ca$
8 silly pacote tag manifest for node-red-contrib-home-assistant@latest fetched in 240ms
9 timing stage:loadCurrentTree Completed in 6828ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 50ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 3355ms
15 silly install loadAllDepsIntoIdealTree.
O que será?