Closed Parking-Master closed 1 year ago
Hii Parker,
Which node version are you using?
On Wed, 12 Jul 2023 at 18:11 Parking Master @.***> wrote:
I found this https://stackoverflow.com/questions/72915782/fatal-unable-to-connect-to-github-com-github-com0-140-82-121-3-errno-opera problem with git after copying the command from the docs:
$ git clone https://github.com/defunctzombie/localtunnel-server.git
Cloning into 'localtunnel-server'... remote: Enumerating objects: 770, done. remote: Total 770 (delta 0), reused 0 (delta 0), pack-reused 770 Receiving objects: 100% (770/770), 436.21 KiB | 2.78 MiB/s, done. Resolving deltas: 100% (412/412), done.
I found out that the git:// protocol no longer works and only works with https:// or ssh://.
Could you update the docs and change this minor detail?
Thanks!
— Reply to this email directly, view it on GitHub https://github.com/localtunnel/server/issues/201, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATONHPWKFQAHOMJZMNSVPULXP4HGRANCNFSM6AAAAAA2IBCEV4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
It's not Node, it's git. And in the stackoverflow anwser I linked, they said that "git://" is no longer valid.
All rigth I got it.
Try it and let me know if its work for you.
git clone https://github.com/localtunnel/server
Thanks! It does work, the issue was basically asking someone to change the docs because it's outdated
No problem :+1:
Yes! unfortunaly the repository is a bit old and maybe in that time it worked.
So, I have this repository and maybe it can help you:
https://github.com/tiagopazhs/localtunnelServer-raise
I recomend you to see this two commits:
It will help you to setup the project because there are some differences between node versions.
https://github.com/tiagopazhs/localtunnelServer-raise/commit/425c9733393a13dedd32a363c325a076d4006cbf
If you debug your application you will got this problem because localtunnel uses an especific lib that don't handle with local urls.
https://github.com/tiagopazhs/localtunnelServer-raise/commit/518214b9163b4cc80b50f2d9d36686904179f344
Thank you!
I found this problem with git after copying the command from the docs:
I found out that the
git://
protocol no longer works and only works withhttps://
orssh://
.Could you update the docs and change this minor detail?
Thanks!