Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enoent undefined ls-remote -h #9

Open
Paulf007 opened this issue Mar 11, 2022 · 5 comments
Open

Enoent undefined ls-remote -h #9

Paulf007 opened this issue Mar 11, 2022 · 5 comments

Comments

@Paulf007
Copy link

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
Copy link

jemmail commented Apr 10, 2022

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 [email protected]
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
Copy link
Owner

orcema commented Apr 10, 2022

should be reladted to this issue solved by version 1.4.8
#10

@jemmail
Copy link

jemmail commented Apr 11, 2022

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
Copy link
Owner

orcema commented Apr 13, 2022

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

@jemmail
Copy link

jemmail commented Apr 22, 2022

(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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants