-
Notifications
You must be signed in to change notification settings - Fork 558
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
version 0.22.2 scaffold chain fail #2618
Comments
Hi @Frederic-Zhou, unfortunately I cannot reproduce your issue. I tried with a binary compiled under the v0.22.2 tag and with the binary packed in the gh release. I was able to scaffold a chain w/o issue. Can you retry with the binary packed in the gh release ? |
Hi @tbruyelle
I did download the binary file from https://github.com/ignite/cli/releases/tag/v0.22.2 , and get same error !! |
In my case, this error occurs in versions v0.20.3 above MacOSX Monterey, Apple M1, go1.18.2 darwin/amd64 |
Your error occurs when ignite runs This module is present in the official proxy (https://proxy.golang.org/github.com/ignite-hq/cli/@v/v0.22.1-0.20220610070456-1b33c09fceb7.mod), what do you have in your GOPROXY env please ? If I remove my module cache and set On my side it works with |
I faced with the same problem and It looks like setting the |
The change fixes a go command error when scaffolding a chain (see #2618), because go cannot fetch `ignite-hq/cli` despite the github redirection. To remove `ignite-hq/cli` from the dependency list, I had to : - upgrade `spn` to latest (so it depends on `ignite/cli@v0.22.2` rather than `ignite-hq/cli`) - upgrade go to 1.18 in `go.mod.plush` (or else `ignite/cli@v0.22.2` adds a dependency to an older `spn` which in turn adds a dependency to `ignite-hq/cli`) Bonus: - improve `go mod download` error report : add the binary output in addition to `Exit status 1`. - fix test because of upgrade to ibc-go 3.0.1, where some parameters can't be null.
Thanks @tbruyelle and @ilkerkorkut . |
@Frederic-Zhou can you give the output of the commands |
Thanks @tbruyelle |
ignite version
go env
|
So when does the new error occur in this case ?
It's not the official proxy, idk if it's reliable. |
After removing github.com/ignite/cli@v0.22.3-0.20220711121333-fd07def4098d required.
I also tried setting GOPROXY="https://proxy.golang.org,direct" before removing github.com/ignite/cli@v0.22.3-0.20220711121333-fd07def4098d required. |
On my side I can run some ignite commands inside a chain that depends on What's happen when you run Additionally, can you share with me the steps to reproduce the new error? Thx. |
Hi @tbruyelle 1. clone repo
2. install ignite
3. set GOPROXY and scaffold chain
4. set other different GOPROXY and scaffold chain, and occur different errors
|
It seems you can't access URL like On the other hand, none of the alternate proxies |
Yes, there are a lot of network restrictions in my area,that's too bad. |
Actually, the problem doesn't come from the proxies, but from the version I added in the template (
That said, I may have one fix that should work immediately, if it doesn't, you will have to wait for the next official release Change the cli version to
This version exists in the repo, unlike the previous one, so whatever the proxy you have configured, you should be able to fetch it. On my side I tried with |
new error occur
I found this if remove
the go.mod file of chain repo will be required is |
but don't you come back to the original problem? |
Thank you so much for your help, @tbruyelle |
The change fixes a go command error when scaffolding a chain (see ignite#2618), because go cannot fetch `ignite-hq/cli` despite the github redirection. To remove `ignite-hq/cli` from the dependency list, I had to : - upgrade `spn` to latest (so it depends on `ignite/cli@v0.22.2` rather than `ignite-hq/cli`) - upgrade go to 1.18 in `go.mod.plush` (or else `ignite/cli@v0.22.2` adds a dependency to an older `spn` which in turn adds a dependency to `ignite-hq/cli`) Bonus: - improve `go mod download` error report : add the binary output in addition to `Exit status 1`. - fix test because of upgrade to ibc-go 3.0.1, where some parameters can't be null.
Describe the bug
After update ignite source and rebuild
run:
fail message:
0.20.3 is fine
The text was updated successfully, but these errors were encountered: