Mark Smith
Mark Smith

Reputation: 21

parse deploy stopped working - issues "dial tcp: lookup api.parse.com: no such host" error

Today when I went to deploy to parse I got the error message below. It was working up until today, and it happens in any directory where I try to use parse. I reinstalled the command line tool but this didn't help. Any ideas as to what is going on and how I can get it to work again?

dial tcp: lookup api.parse.com: no such host /home/travis/gopath/src/github.com/ParsePlatform/parse-cli/main.go:143 checkIfSupported /home/travis/gopath/src/github.com/ParsePlatform/parse-cli/main.go:101 main /home/travis/.gimme/versions/go1.4.2.linux.amd64/src/runtime/proc.go:72 main /home/travis/.gimme/versions/go1.4.2.linux.amd64/src/runtime/asm_amd64.s:2233 goexit

Upvotes: 1

Views: 1144

Answers (2)

Max Phillips
Max Phillips

Reputation: 7489

I was able to solve this same issue just by running the install:

curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash

Upvotes: 0

xt_12
xt_12

Reputation: 11

GOT THIS TO WORK!

go version 1.4.2 is the problem. Use homebrew to "brew install go" to get go version 1.5.3. then install parse-cli with:

'go get -t github.com/ParsePlatform/parse-cli'

now use 'parse-cli deploy' instead of 'parse deploy'

EDIT: In case you haven't set them:

export GOPATH=$HOME/golang export GOROOT=/usr/local/opt/go/libexec

Upvotes: 1

Related Questions