akshaykarle / terraform-provider-mongodbatlas

Terraform provider for MongoDB Atlas
Mozilla Public License 2.0
122 stars 54 forks source link

Installation failing on macOS #66

Closed casparjespersen closed 5 years ago

casparjespersen commented 5 years ago

I have troubles installing the provider on macOS. It works fine on Windows.

This is my setup:

> terraform --version
Terraform v0.11.11

> go version
go version go1.11.4 darwin/amd64

This is the error I get when installing:

> go get github.com/akshaykarle/terraform-provider-mongodbatlas
../src/github.com/akshaykarle/terraform-provider-mongodbatlas/vendor/github.com/hashicorp/terraform/plugin/discovery/get.go:16:2: 
../src/github.com/akshaykarle/terraform-provider-mongodbatlas/vendor/golang.org/x/net/html/entity.go:1:1: expected 'package', found 'EOF'
casparjespersen commented 5 years ago

For some reason, if I cleaned all content within my Go directory, and re-tried, it worked out fine.

rm -rf $GO_PATH/
go get github.com/akshaykarle/terraform-provider-mongodbatlas
pradheba-rangarajan commented 5 years ago

I'm having a similar issue, when I try this command go get github.com/akshaykarle/terraform-provider-mongodbatlas , there is no error message or a successful download. Can you suggest, any ways to download ?