Skip to content

Problem with VUE template scaffoled from igniteCLI 0.25.2 does not support anymore Keplr connection [Keplr cannot launch] as CLI version 0.23 used to do gracefully from the first run #3354

@Alkia

Description

@Alkia

Describe the bug

The VUE template scaffoled from igniteCLI which worked perfectly when connected with a Keplr client in version 0.23 (at the first ignite chain serve: you had something that worked on any browser with Keplr, which give a great confidence in the CLI quality and end-2-end capacity) but it no longer works directly in .24, and .25.2 we get "Keplr cannot launch"?

To reproduce Steps to reproduce the behavior:

  1. $ ignite scaffold chain mars
    $ cd mars
    $ ignite chain serve

         Documentation: https://docs.ignite.com
         Cosmos SDK's version is: stargate - v0.46.6
         🛠  Building proto...
         📦 Installing dependencies...
         🛠  Building the blockchain...
         💿 Initializing the app...
         🗂  Initialize accounts...
         🙂 Added account alice with address cosmos17pd9qlexwseg0su0gsev0ejf7xxuesc4el2y82 and mnemonic: tone blue ketchup exhaust attitude above lottery defense grocery pistol pear surprise thank diesel say hen swear wide jealous crack fetch air ensure burger
         🙂 Added account bob with address cosmos1z44r2vhrddhm0scatvxzj59cygpjh7xjh4chsm and mnemonic: donkey cave diesel mad spider code series cause matter error lucky people useful moral flock butter globe diary mercy bulb indicate inch trick pumpkin
         🌍 Tendermint node: http://0.0.0.0:26657
         🌍 Blockchain API: http://0.0.0.0:1317
         🌍 Token faucet: http://0.0.0.0:4500
         
         2. $ cd vue
             $ npm install
         
                     Package 'mars-client-ts' located at '../ts-client' needs to be published and your package.json file updated.
                     
                     added 284 packages, and audited 286 packages in 1m
                     
                     23 packages are looking for funding
                       run `npm fund` for details
                     
                     7 vulnerabilities (2 moderate, 5 high)
         
         Run `npm audit` for details.
    

    $ npm run dev

           vite v2.7.12 dev server running at:
         
           > Local: http://localhost:3000/
           > Network: use `--host` to expose
         
           ready in 3581ms.
    
  2. Open Chrome to http://localhost:3000
    see picture 1.png

1 - Open in Chrome latest version

  1. Connect with Keplr
    see picture 2.png
    error on picture 3.png

2 - Ok
3 Keplr cannot Launch

What version are you using?
alkia@LAPTOP-8V2QLBM6:~$ ignite version
Ignite CLI version: v0.25.2
Ignite CLI build date: 2022-11-21T18:08:22Z
Ignite CLI source hash: 8888014
Cosmos SDK version: v0.46.6
Your OS: linux
Your arch: amd64
Your Node.js version: v12.22.9
Your go version: go version go1.19.4 linux/amd64
Your uname -a: Linux LAPTOP-8V2QLBM6 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Your cwd: /home/alkia
Is on Gitpod: false

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions