Skip to content
Cosmopediaby Unity Nodes
DiscussionsCosmos-SDKNameservice app adaptation make install errorForum ↗

Nameservice app adaptation make install error

Cosmos-SDK3 posts857 viewsLast activity May 2019
AR
ArnaudOP
May 2019

Hey Guys,

I am trying to understand the nameservice app tutorial. To do this I recreated a very similar application but changing just a few methods in order to try to better understand the code.

Running the make install command I have this error message:

make install
–> Ensure dependencies have not been modified
GO111MODULE=on go mod verify
all modules verified
GO111MODULE=on go install -tags “” ./cmd/nsd
go: finding github.com/Ohmere03/testapplication latest

github.com/Ohmere03/testapplication

…/…/…/…/pkg/mod/github.com/!ohmere03/[email protected]/app.go:22:9: undefined: MakeCodec
…/…/…/…/pkg/mod/github.com/!ohmere03/[email protected]/app.go:29:3: unknown field ‘cdc’ in struct literal of type bolApp
Makefile:3: recipe for target ‘install’ failed
make: *** [install] Error 2

I tried to check the lines indicated but could not find any of these errors.

Any help would be welcome in order to resolve this issue.

Many thanks in advance

MA
marbar
May 2019

Hey,

Make this your module name in go.mod “module github.com/Ohmere03/testapplication”

AR
Arnaud
May 2019

Thanks worked perfectly!

← Back to Discussions