Create-BlockchainNetwork-IBPV20 icon indicating copy to clipboard operation
Create-BlockchainNetwork-IBPV20 copied to clipboard

IBM Blockchain Platform VScode GOPATH error

Open subash96 opened this issue 4 years ago • 0 comments

I am running https://github.com/IBM/PublicRegulationFabric-Food-IBPV20/blob/master/README.md use case on a windows VM I created on Azure. I have installed Golang and the GOPATH = C:\Go

My Go files from the IBM use case are in C:\Go\src\github.com\food

While i Try to package this on VScode, the error is The Go smart contract is not a subdirectory of the path specified by the environment variable GOPATH. Please correct the environment variable GOPATH.

I tried changing the GOPATH environment variable to so many options, like GOPATH = C:\Go\src\github.com\food, GOPATH = C:\Go\src\ etc but still getting the same error. How do I correct the environment variable.

Thanks

subash96 avatar Oct 30 '20 05:10 subash96