Giter VIP home page Giter VIP logo

Comments (10)

berelton avatar berelton commented on August 14, 2024 1

@marinhoarthur I have same content as @TrashCoder96 showed
do you have some temporary workaround?

running starport chain serve with the --proto-all-modules flag may work I think

this does not help :(

from web.

marinhoarthur avatar marinhoarthur commented on August 14, 2024 1

There is a new release patching this. Please upgrade your Starport to v0.18.2

Let us know how that works out.

@berelton @TrashCoder96

from web.

clockworkgr avatar clockworkgr commented on August 14, 2024

this.$store.getters['cosmos.staking.v1beta1/getParams'] iirc

from web.

berelton avatar berelton commented on August 14, 2024

image

from web.

marinhoarthur avatar marinhoarthur commented on August 14, 2024

Hi @berelton

Could you share a print of your vue/src/store/generate folder (i.e. the content of generated)?

from web.

TrashCoder96 avatar TrashCoder96 commented on August 14, 2024

Hello, i got the same errors. This is my generated folder:
generated.zip

index.ts

// THIS FILE IS GENERATED AUTOMATICALLY. DO NOT MODIFY.



export default { 
  
}


function load(mod, fullns) {
    return function init(store) {        
        if (store.hasModule([fullns])) {
            throw new Error('Duplicate module name detected: '+ fullns)
        }else{
            store.registerModule([fullns], mod)
            store.subscribe((mutation) => {
                if (mutation.type == 'common/env/INITIALIZE_WS_COMPLETE') {
                    store.dispatch(fullns+ '/init', null, {
                        root: true
                    })
                }
            })
        }
    }
}

package.json

{
  "name": "rr-bcp-core-js",
  "version": "0.1.0",
  "description": "Autogenerated cosmos modules vuex store",
  "author": "Starport Codegen <[email protected]>",  
  "license": "Apache-2.0",
  "licenses": [
    {
      "type": "Apache-2.0",
      "url": "http://www.apache.org/licenses/LICENSE-2.0"
    }
  ],
  "main": "index.js",
  "publishConfig": {
    "access": "public"
  }
}

from web.

clockworkgr avatar clockworkgr commented on August 14, 2024

@ilgooz @fadeev it seems like the scaffolding clears the store/generated/cosmos folder downloaded along with the template and doesn't rebuild it

from web.

berelton avatar berelton commented on August 14, 2024

@marinhoarthur I have same content as @TrashCoder96 showed

do you have some temporary workaround?

from web.

clockworkgr avatar clockworkgr commented on August 14, 2024

@marinhoarthur I have same content as @TrashCoder96 showed

do you have some temporary workaround?

running starport chain serve with the --proto-all-modules flag may work I think

from web.

marinhoarthur avatar marinhoarthur commented on August 14, 2024

@berelton @TrashCoder96 we're currently investigating this and will post any updates here.

FYI this is the root issue.

I'll be following up this closely so that it's fixed asap.

from web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.