cli icon indicating copy to clipboard operation
cli copied to clipboard

TS/Vuex code generation error in Pylons

Open fadeev opened this issue 4 years ago • 4 comments

Generating a Vuex client with starport serve in Pylons throws an error:

fadeev@system pylons % starport serve
Cosmos SDK's version is: Stargate v0.40.0 (or later)

🔄 Resetting the app state...
🛠️  Building proto...
cannot build app:

        error while running command /tmp/nodetime: : exit status 1

vue/src/store/generated/Pylons-tech/pylons/pylons/index.ts(324,35): error TS2551: Property 'queryCheckGoogleIAPOrder' does not exist on type 'Api<unknown>'. Did you mean 'queryCheckGoogleIapOrder'?

Waiting for a fix before retrying...

For access to Pylons, ping @MikeSofaer.

starport version v0.15.1-95-g2c27ddf darwin/amd64 -build date: 2021-05-14T09:40:01
git object hash: 2c27ddf66a473cfac04f16e5270e769827ae4fa0

fadeev avatar May 17 '21 06:05 fadeev

@ilgooz It's something with sta and how it treats consecutive capital letters I believe...mind having a look?

clockworkgr avatar May 17 '21 06:05 clockworkgr

What's pylons' version?

ilgooz avatar May 17 '21 06:05 ilgooz

go 1.13

require (
	github.com/Pylons-tech/pylons_sdk v0.0.6
	github.com/Workiva/go-datastructures v1.0.52 // indirect
	github.com/bartekn/go-bip39 v0.0.0-20171116152956-a05967ea095d // indirect
	github.com/cosmos/cosmos-sdk v0.42.0
	github.com/cosmos/go-bip39 v1.0.0
	github.com/gogo/protobuf v1.3.3
	github.com/golang/protobuf v1.4.3
	github.com/google/cel-go v0.5.1
	github.com/google/uuid v1.1.2
	github.com/gorilla/mux v1.8.0
	github.com/grpc-ecosystem/grpc-gateway v1.16.0
	github.com/sirupsen/logrus v1.7.0
	github.com/spf13/cast v1.3.1
	github.com/spf13/cobra v1.1.1
	github.com/spf13/pflag v1.0.5
	github.com/spf13/viper v1.7.1
	github.com/stretchr/testify v1.7.0
	github.com/tendermint/iavl v0.13.2 // indirect
	github.com/tendermint/tendermint v0.34.8
	github.com/tendermint/tm-db v0.6.4
	google.golang.org/genproto v0.0.0-20210114201628-6edceaf6022f
	google.golang.org/grpc v1.35.0
	gopkg.in/yaml.v2 v2.4.0
	rsc.io/quote/v3 v3.1.0 // indirect
)

replace google.golang.org/grpc => google.golang.org/grpc v1.33.2

replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

ping Michael for access

clockworkgr avatar May 17 '21 06:05 clockworkgr

@ilgooz I was using the latest version from develop. If you're talking about SDK, then v0.42.0.

fadeev avatar May 17 '21 06:05 fadeev

Closing due to lack of activity. If issue persists, please open a new issue!

aljo242 avatar Oct 28 '22 14:10 aljo242