robvanderleek / mudslide

Send WhatsApp messages from the command-line
ISC License
122 stars 12 forks source link

Git Error -4058 npm not able to find a file #42

Closed ujayadev closed 1 year ago

ujayadev commented 1 year ago

Hi, Thank you for your excellent utility.

Please see the attached error when trying to install mudslide on a Win 10 pro machine. MudslideError

Please help. Warm regards,

Jayadev

robvanderleek commented 1 year ago

Hi @ujayadev 👋

I've seen this type of error before if you try to install Mudslide as a user that has no SSH access to GitHub (an external dependency of Mudslide is defined as an SSH link to a GitHub repo.)

A workaround that fixed my issue was to first run:

git config --global url."https://github".insteadOf ssh://git@github

and then try the install again.

Could you give this a try please?

ujayadev commented 1 year ago

Hi,

Thanks so much for your prompt reply.

I had to install git on the machine and the error resolved by itself.

Is installing Git compulsory or is there a work around ?

Warm regards,

Jayadev

From: Rob van der Leek @. Sent: 25 May 2023 02:10 AM To: robvanderleek/mudslide @.> Cc: ujayadev @.>; Mention @.> Subject: Re: [robvanderleek/mudslide] Git Error -4058 npm not able to find a file (Issue #42)

Hi @ujayadev https://github.com/ujayadev 👋

I've seen this type of error before if you try to install Mudslide as a user that has no SSH access to GitHub (an external dependency of Mudslide is defined as an SSH link to a GitHub repo.)

A workaround that fixed my issue was to first run:

git config --global url."https://github".insteadOf @.***

and then try the install again.

Could you give this a try please?

— Reply to this email directly, view it on GitHub https://github.com/robvanderleek/mudslide/issues/42#issuecomment-1561896570 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHCEF3E2ZRHJSR2FNXLBETXHZWY3ANCNFSM6AAAAAAYM7IQYQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ADHCEF65CSDCHJMVAQG7LBLXHZWY3A5CNFSM6AAAAAAYM7IQYSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS5DCTHU.gif Message ID: @. @.> >

robvanderleek commented 1 year ago

Aha, yes, Git is also needed due to this repo dependency.

Great you fixed it 😄