Skip to content

FIX: ignite scaffold chain exampleone dependencies issue #4499

Closed

Description

@aholbreich

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/v2@v2.0.0-beta.5 requires                                                               
	nhooyr.io/websocket@v1.8.6: 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/v2@v2.0.0-beta.5 requires                                                         
	nhooyr.io/websocket@v1.8.6: 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

Activity

  1. julienrbrt commented on Feb 10, 2025

    @julienrbrt
    Member

    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 websocket@v1.8.6
  2. aholbreich commented on Feb 11, 2025

    @aholbreich
    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/
    └── websocket@v1.8.6
        ├── 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.

  3. aholbreich commented on Feb 11, 2025

    @aholbreich
    Author
  4. aholbreich commented on Feb 11, 2025

    @aholbreich
    Author

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

  5. julienrbrt commented on Feb 11, 2025

    @julienrbrt
    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.

  6. aholbreich commented on Feb 11, 2025

    @aholbreich
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions