sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.86k stars 136 forks source link

Deployment always gets stuck #295

Closed codejet closed 6 years ago

codejet commented 6 years ago

I just started using surge earlier. Verified my email and wanted to deploy a small Gatsby project (I'm running macOS sierra and using iTerm). I ran the surge command, giving it the public directory. But the deployment always gets stuck at the point where it shows the domain.

Surge - surge.sh

email: [my verified email]
token: *****************
project path: public
size: 130 files, 10.7 MB
domain: something.surge.sh

When I abort it says "Please try again with a valid domain name."

I already went through the issues here but found nothing which helped with my issue unfortunately...

jklegseth commented 6 years ago

@codejet would have been great to add what you did to solve this before closing.

danielmahon commented 6 years ago

To anyone who got here... the domain: something.surge.sh line is interactive (the terminal cursor is at the end of .sh), you can either modify the domain (backspace and type) or just hit enter to stick with the default.

matthodgson commented 6 years ago

@danielmahon Thanks for posting this. I feel pretty dumb for not noticing that.

chrisbradshaw commented 6 years ago

I made the same mistake.. maybe there should be a prompt like:

project: public/ domain ("enter" for default):