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

FIX: ignite scaffold chain exampleone dependencies issue #4499

Closed
aholbreich opened this issue Feb 10, 2025 · 6 comments · Fixed by #4506
Closed

FIX: ignite scaffold chain exampleone dependencies issue #4499

aholbreich opened this issue Feb 10, 2025 · 6 comments · Fixed by #4506

Comments

@aholbreich
Copy link

aholbreich commented Feb 10, 2025

Context:

While execution ignite for other first time on
Fedora 41 Linux the command runs in problems

Describe the Bug:

ignite scaffold chain exampleone

results in...

✘ Error while running command go mod tidy: go: downloading google.golang.org/protobuf v1.35.2                     
go: downloading cosmossdk.io/client/v2 v2.0.0-beta.5 
...
go: downloading github.com/jmespath/go-jmespath v0.4.0                                                          
go: cosmossdk.io/client/[email protected] requires                                                               
	nhooyr.io/[email protected]: reading nhooyr.io/websocket/go.mod at revision v1.8.6: unknown revision v1.8.6      
: exit status 1 

all subsequential runs of

ignite scaffold chain exampleone

resulting in:

✘ Error while running command go mod tidy: go: downloading nhooyr.io/websocket v1.8.6                       
go: downloading github.com/docker/docker v27.0.0+incompatible                                             
go: cosmossdk.io/client/[email protected] requires                                                         
	nhooyr.io/[email protected]: reading nhooyr.io/websocket/go.mod at revision v1.8.6: unknown revision v1.8.6
: exit status 1 

Environment Details:

Fedora release 41
Ignite CLI version: v28.7.0
Ignite CLI build date: 2025-01-15T08:23:41Z
Ignite CLI source hash: 2f83cfe
Ignite CLI config version: v1
Cosmos SDK version: v0.50.11
Your OS: linux
Your arch: amd64
Your go version: go version go1.23.6 linux/amd64
Your uname -a: Linux main-pc 6.12.11-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 24 04:59:58 UTC 2025 x86_64 GNU/Linux
Your cwd: /home/aho/git
Is on Gitpod: false

@julienrbrt
Copy link
Member

julienrbrt commented Feb 10, 2025

I use myself Fedora 41 daily, and I am unable to reproduce this.

Image

Are you the person i have talked to on discord?
Looks like the issue lies in the vanity url, maybe you can force download it in your go cache:

$ mkdir -p $GOPATH/pkg/mod/nhooyr.io
$ cd $GOPATH/pkg/mod/nhooyr.io
$ git clone https://github.com/coder/websocket -b v1.8.6 [email protected]

@github-project-automation github-project-automation bot moved this from To Discuss to Done in Ignite CLI Masterboard Feb 10, 2025
@aholbreich
Copy link
Author

@julienrbrt no, we haven't talked yet. Nice to meet you ;)

well, nhooyer.io did not existed.
I've made it manual like you suggest

 tree ~/go/pkg/mod/nhooyr.io/
/home/aho/go/pkg/mod/nhooyr.io/
└── [email protected]
    ├── accept.go
    ├── accept_js.go
    ├── accept_test.go
    ├── autobahn_test.go
...

also GOPATH is not set nowadays.
I've set it just to test:
export GOPATH=$(go env GOPATH)

but still have the same issue.

@aholbreich
Copy link
Author

@aholbreich
Copy link
Author

@julienrbrt how do you install ignite? Maybe i should get your version?

@julienrbrt
Copy link
Member

@julienrbrt no, we haven't talked yet. Nice to meet you ;)

Ah okay, someone just asked recently the same thing. I see indeed that nhooyr.io doesn't resolve anymore.
I'll remove it from my cache and see if adding the replace works: improbable-eng/grpc-web#1182 (comment)

@julienrbrt how do you install ignite? Maybe i should get your version?

I just use the available snap (https://snapcraft.io/ignite).

The discusstion i've started: https://discordapp.com/channels/669268347736686612/1338832445792976927

Ah okay, feel free to join the ignite discord, you'll get an answer faster than on the Interchain one about Ignite: https://discord.gg/ignite.

@aholbreich
Copy link
Author

I'll can retetest after fix

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

Successfully merging a pull request may close this issue.

2 participants