orcema / node-red-google-notify

6 stars 0 forks source link

Enoent undefined ls-remote -h #9

Open Paulf007 opened 2 years ago

Paulf007 commented 2 years ago

Hello , I am attempting to install - node-red-google-notify The installation fails and I am getting the following error in the log file :

29 verbose Linux 5.11.22-4-pve 30 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "node-red-google-notify" 31 verbose node v14.18.1 32 verbose npm v6.14.15 33 error code ENOENT 34 error syscall spawn git 35 error path git 36 error errno -2 37 error enoent Error while executing: 37 error enoent undefined ls-remote -h -t git://github.com/orcema/file-server.git 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 [ -2, true ]

Is there something else I can try?

jemmail commented 2 years ago

Hi... similar error for me:

2022-04-10T09:42:36.007Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-google-notify@1.4.8 2022-04-10T09:42:50.260Z [err] npm 2022-04-10T09:42:50.260Z [err] ERR! code ENOENT 2022-04-10T09:42:50.260Z [err] npm ERR! syscall 2022-04-10T09:42:50.261Z [err] spawn git 2022-04-10T09:42:50.261Z [err] npm ERR! path git 2022-04-10T09:42:50.261Z [err] npm 2022-04-10T09:42:50.262Z [err] ERR! errno -2 2022-04-10T09:42:50.288Z [err] npm ERR! 2022-04-10T09:42:50.288Z [err] enoent Error while executing: 2022-04-10T09:42:50.288Z [err] npm ERR! enoent undefined ls-remote -h -t https://github.com/orcema/file-server.git 2022-04-10T09:42:50.288Z [err] npm ERR! 2022-04-10T09:42:50.288Z [err] enoent 2022-04-10T09:42:50.288Z [err] npm ERR! 2022-04-10T09:42:50.288Z [err] enoent 2022-04-10T09:42:50.288Z [err] npm ERR! 2022-04-10T09:42:50.288Z [err] enoent spawn git ENOENT 2022-04-10T09:42:50.288Z [err] npm 2022-04-10T09:42:50.289Z [err] ERR! enoent This is related to npm not being able to find a file. 2022-04-10T09:42:50.289Z [err] npm 2022-04-10T09:42:50.289Z [err] ERR! enoent 2022-04-10T09:42:50.320Z [err] 2022-04-10T09:42:50.320Z [err] npm ERR! A complete log of this run can be found in: 2022-04-10T09:42:50.320Z [err] npm ERR! /home/pi/.npm/_logs/2022-04-10T09_42_50_293Z-debug.log 2022-04-10T09:42:50.344Z rc=254

any Ideas, clue ?

orcema commented 2 years ago

should be reladted to this issue solved by version 1.4.8 https://github.com/orcema/node-red-google-notify/issues/10

jemmail commented 2 years ago

unfortunately not, see the log above

"2022-04-10T09:42:36.007Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-google-notify@1.4.8"

orcema commented 2 years ago

can please give some more details about the host computer, do you use node-red as standanlone or as home assistant add-on ?

jemmail commented 2 years ago

(sorry for the delay).. sure... I'm running Node-RED 2.2.2 on a Raspberry Pie, Standalone, no home assistant add-on, NodeJS version v14.19.0