Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

I'm not able to run the Oracle Platform Loyalty Token-Go Specification

User_II07LJun 1 2022

Without missing anything, if the Oracle Platform Loyalty Token-Go Specification is run on my machine, I'm getting the following error-
Checking destination
/Users/rajat/Development/src/nft.com/nft
Go Lang Destination Folder
/Users/rajat/Development/src/nft.com/nft
WRITING chaincode...
[create] .cc-lib.json
[create] .ochain.json
[create] .vscode/launch.json
[create] .vscode/tasks.json
[create] META-INF/statedb/relationaldb/indexes/.gitkeep
[create] META-INF/tokens/tokenDefinitions.json
[create] README.md
[create] .gitignore
[create] go.mod
[create] lib/account/tokenAccount.go
[create] lib/accountRegistry/ftAccountRegistry.go
[create] lib/admin/tokenAdmin.go
[create] lib/auth/tokenAuth.go
[create] lib/autoDeleteTransactions/autoDeleteTransactions.go
[create] lib/chaincode/chaincode.go
[create] lib/chaincode/chaincodetest/chaincodetest.go
[create] lib/constants/constants.go
[create] lib/constants/propertiesConstants.go
[create] lib/holding/tokenHold.go
[create] lib/model/ochainModel.go
[create] lib/role/tokenRole.go
[create] lib/token/tokenModel.go
[create] lib/transaction/transaction.go
[create] lib/trxcontext/trxcontext.go
[create] lib/util/date/date.go
[create] lib/util/dateUtils.go
[create] lib/util/ochainUtil.go
[create] lib/util/validators/constants.go
[create] lib/util/validators/validators.go
[create] main.go
[create] modd.conf
[create] run.sh
[create] src/controller/nft.controller.go
[create] src/controller/nft_test.go
[create] src/model/nft.model.go
[create] statedb/relationaldb/indexes/.gitkeep
[create] tokens/tokenDefinitions.json
Installing nft... /Users/rajat/Development/src/nft.com/nft...go
Error: Command failed: go mod vendor
nft.com/nft imports
github.com/hyperledger/fabric-chaincode-go/shim: missing go.sum entry for module providing package github.com/hyperledger/fabric-chaincode-go/shim (imported by nft.com/nft); to add:
go get nft.com/nft
nft.com/nft/lib/chaincode imports
github.com/hyperledger/fabric-protos-go/peer: missing go.sum entry for module providing package github.com/hyperledger/fabric-protos-go/peer (imported by nft.com/nft/lib/chaincode); to add:
go get nft.com/nft/lib/chaincode
nft.com/nft/lib/model imports
github.com/golang/protobuf/proto: missing go.sum entry for module providing package github.com/golang/protobuf/proto (imported by nft.com/nft/lib/model); to add:
go get nft.com/nft/lib/model
nft.com/nft/lib/model imports
github.com/golang/protobuf/ptypes/timestamp: missing go.sum entry for module providing package github.com/golang/protobuf/ptypes/timestamp (imported by nft.com/nft/lib/model); to add:
go get nft.com/nft/lib/model
nft.com/nft/lib/model imports
github.com/hyperledger/fabric-chaincode-go/pkg/cid: missing go.sum entry for module providing package github.com/hyperledger/fabric-chaincode-go/pkg/cid (imported by nft.com/nft/lib/model); to add:
go get nft.com/nft/lib/model
nft.com/nft/lib/model imports
github.com/hyperledger/fabric-protos-go/ledger/queryresult: missing go.sum entry for module providing package github.com/hyperledger/fabric-protos-go/ledger/queryresult (imported by nft.com/nft/lib/model); to add:
go get nft.com/nft/lib/model
nft.com/nft/lib/model imports
github.com/hyperledger/fabric-protos-go/msp: missing go.sum entry for module providing package github.com/hyperledger/fabric-protos-go/msp (imported by nft.com/nft/lib/model); to add:
go get nft.com/nft/lib/model
nft.com/nft/lib/util imports
github.com/creasty/defaults: missing go.sum entry for module providing package github.com/creasty/defaults (imported by nft.com/nft/lib/util); to add:
go get nft.com/nft/lib/util
nft.com/nft/lib/util/validators imports
gopkg.in/validator.v2: missing go.sum entry for module providing package gopkg.in/validator.v2 (imported by nft.com/nft/lib/util/validators); to add:
go get nft.com/nft/lib/util/validators
nft.com/nft/src/controller tested by
nft.com/nft/src/controller.test imports
github.com/hyperledger/fabric-chaincode-go/shimtest: missing go.sum entry for module providing package github.com/hyperledger/fabric-chaincode-go/shimtest (imported by nft.com/nft/src/controller); to add:
go get -t nft.com/nft/src/controller

Comments
Post Details
Added on Jun 1 2022
1 comment
279 views