Closed 7054company closed 1 year ago
Hey! 👋 Thanks for opening your first issue here! Be sure to follow the issue template.
Hi,
Did you try to install git
on your PC?
Server almalimux
On Wed, Aug 2, 2023, 23:38 7054company @.***> wrote:
Git is already install bro
On Wed, Aug 2, 2023, 23:26 Vic Shóstak @.***> wrote:
Hi,
Did you try to install git on your PC?
— Reply to this email directly, view it on GitHub https://github.com/create-go-app/cli/issues/153#issuecomment-1662698612, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJGTAEEISVA4SO3QZPOVEDXTKIFXANCNFSM6AAAAAA3BQEDKQ . You are receiving this because you authored the thread.Message ID: @.***>
Create project backend...
[OK] Backend: created with the github.com/create-go-app/fiber-go-template
template!
Please try all of this via native Go installation:
go install github.com/create-go-app/cli/v4/cmd/cgapp@latest
i try see the result , thanks for reply
please see this.. and please do this same test in a new server so you can exactly understand the error .
Mr koddr ?? You create go cli it was very good , but pls fix this error , if some new one is try to do so this will gives error... They unable to create frontend and backend.
I try cgapp in local go environment over server and also in docker their is a error , comming in both and that is because , Docker cgapp -v and cgapp -v is same in both environment . That mean their is error in cgapp git clonning function. Thats why both env shows error.. pls fix that ..
It shows same no works! you have to try this over new server
On Thu, 3 Aug 2023, 16:56 Vic Shóstak, @.***> wrote:
Please try all of this via native Go installation:
go install @.***
— Reply to this email directly, view it on GitHub https://github.com/create-go-app/cli/issues/153#issuecomment-1663811516, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJGTACCFO7R45YVPVVGUYDXTODHBANCNFSM6AAAAAA3BQEDKQ . You are receiving this because you authored the thread.Message ID: @.***>
When tested (macOS 13 on M1 and Fedora Linux 37), none of the errors you point out were found.
Here is a screenshot of the project being created correctly (native Go installation):
This error when using a Docker container:
Error: [ERROR][ERROR]Repository `github.com/create-go-app/*-go-template` was not cloned!
Can occur in very different situations that can (and will) be unique to your PC. For example, your system user does not have enough permissions to create a backend
folder on your system to copy the Fiber template.
Please check this.
✨ I realize that it's difficult and confusing when only you are getting errors when everyone else's CLI is running normally without fail. But you should also realize that this is an Open Source and Non-profit project that comes "AS IS".
❗️ If something doesn't work on your PC, it means that the problem is not in the CLI, but in your workstation. That sounds logical, doesn't it? So please be understanding.
Bro why you perform this test over mac , i know some of the preloaded binary are there , if you really perform the test , you have create a instance server on aws or droplet or on azure of any os like ubuntu or centos os , reperform test their not only in mac .. pls bro
On Mon, Aug 21, 2023, 15:06 Vic Shóstak @.***> wrote:
Closed #153 https://github.com/create-go-app/cli/issues/153 as completed.
— Reply to this email directly, view it on GitHub https://github.com/create-go-app/cli/issues/153#event-10143179173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJGTAEBS3EIA4PD36AV6QDXWMTZBANCNFSM6AAAAAA3BQEDKQ . You are receiving this because you authored the thread.Message ID: @.***>
First, I don't use AWS (or else) in my work (or home).
Second, if you do use it, you are free to do a test on your instance. Then I will gladly wait for your PR with edits to the tests in this repository exclusively for deploy on AWS (or else), which I will include in the next patch version of the CLI.
Third, for the tests to work, you must have all the necessary containers (e.g. Postgres) running on your machine, as the tests use database/cache/etc connections.
When tested (macOS 13 on M1 and Fedora Linux 37), none of the errors you point out were found.
Here is a screenshot of the project being created correctly (native Go installation):
This error when using a Docker container:
Error: [ERROR][ERROR]Repository `github.com/create-go-app/*-go-template` was not cloned!
Can occur in very different situations that can (and will) be unique to your PC. For example, your system user does not have enough permissions to create a
backend
folder on your system to copy the Fiber template.Please check this.
✨ I realize that it's difficult and confusing when only you are getting errors when everyone else's CLI is running normally without fail. But you should also realize that this is an Open Source and Non-profit project that comes "AS IS". ❗️ If something doesn't work on your PC, it means that the problem is not in the CLI, but in your workstation. That sounds logical, doesn't it? So please be understanding.
I'm having the same error with fresh installation of create-go-app. The only ERROR message I get is literally: ERROR. This doesn't help in the slightest.
git clone http://github.com/create-go-app/fiber-go-template Cloning into 'fiber-go-template'... warning: redirecting to https://github.com/create-go-app/fiber-go-template/ remote: Enumerating objects: 2207, done. remote: Counting objects: 100% (1171/1171), done. remote: Compressing objects: 100% (385/385), done. remote: Total 2207 (delta 910), reused 1005 (delta 785), pack-reused 1036 Receiving objects: 100% (2207/2207), 652.53 KiB | 2.23 MiB/s, done. Resolving deltas: 100% (1407/1407), done.
No network or folder issues
docker run --rm -it -v ${PWD}:${PWD} -w ${PWD} koddr/cgapp:latest create
[?] Choose a frontend framework/library: vanilla-ts [?] Choose a web/proxy server: nginx [?] If everything is okay, can I create this project for you? ;) Yes
Error: [ERROR][ERROR] Repository
github.com/create-go-app/net_http-go-template
was not cloned! Usage: