Hello,
I am trying to install the node-red-contrib-onvif-nodes on my RaspberryMatic. Unfortunately I always get the following error:
root@homematic-raspi:/usr/local/addons/redmatic# npm install node-red-contrib-on
vif-nodes
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 ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t GitHub - agsh/onvif: ONVIF node.js implementation
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! enoentnpm ERR! A complete log of this run can be found in:
npm ERR! /tmp/npm-cache/_logs/2020-12-19T20_00_56_621Z-debug.log
The log then contains the following:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli 'install',
1 verbose cli 'node-red-contrib-onvif-nodes'
1 verbose cli ]
2 info using npm@6.14.6
3 info using node@v12.18.4
4 verbose npm-session add19c412ac11246
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/node-red-contrib-onvif-nodes 280ms
8 http fetch GET 200 https://registry.npmjs.org/node-red-contrib-onvif-nodes/-/node-red-contrib-onvif-nodes-0.0.1-beta.12.tgz 780ms
9 silly pacote tag manifest for node-red-contrib-onvif-nodes@latest fetched in 1076ms
10 timing stage:loadCurrentTree Completed in 1125ms
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
14 silly install loadShrinkwrap
15 timing stage:loadIdealTree:loadShrinkwrap Completed in 6ms
16 silly install loadAllDepsIntoIdealTree
17 silly resolveWithNewModule node-red-contrib-onvif-nodes@0.0.1-beta.12 checking installable status
18 silly fetchPackageMetaData error for onvif@git+https://github.com/agsh/onvif.git Error while executing:
18 silly fetchPackageMetaData undefined ls-remote -h -t GitHub - agsh/onvif: ONVIF node.js implementation
18 silly fetchPackageMetaData
18 silly fetchPackageMetaData
18 silly fetchPackageMetaData spawn git ENOENT
19 http fetch GET 200 https://registry.npmjs.org/request 176ms
20 http fetch GET 200 https://registry.npmjs.org/request/-/request-2.88.2.tgz 103ms
21 silly pacote range manifest for request@>= 2.88.2 fetched in 291ms
22 warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
23 silly resolveWithNewModule request@2.88.2 checking installable status
24 timing stage:rollbackFailedOptional Completed in 1ms
25 timing stage:runTopLevelLifecycles Completed in 1444ms
26 silly saveTree redmatic
26 silly saveTree +-- git@0.1.5
26 silly saveTree |-- mime@1.2.9 26 silly saveTree +-- mime@1.2.9 26 silly saveTree
-- node-red-contrib-onvif-nodes@0.0.1-beta.12
26 silly saveTree `-- request@2.88.2
27 verbose stack Error: spawn git ENOENT
27 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
27 verbose stack at onErrorNT (internal/child_process.js:469:16)
27 verbose stack at processTicksAndRejections (internal/process/task_queues.js:84:21)
28 verbose cwd /usr/local/addons/redmatic
29 verbose Linux 5.4.77
30 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "node-red-contrib-onvif-nodes"
31 verbose node v12.18.4
32 verbose npm v6.14.6
33 error code ENOENT
34 error syscall spawn git
35 error path git
36 error errno ENOENT
37 error enoent Error while executing:
37 error enoent undefined ls-remote -h -t GitHub - agsh/onvif: ONVIF node.js implementation
37 error enoent
37 error enoent
37 error enoent spawn git ENOENT
38 error enoent This is related to npm not being able to find a file.
39 verbose exit [ 1, true ]
Does anyone have a hint as to what this is?