Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freezes on ensuring authentication when machine name provided from command line #61

Closed
dmwyatt opened this issue Aug 19, 2020 · 1 comment

Comments

@dmwyatt
Copy link

dmwyatt commented Aug 19, 2020

If I just run caprover deploy, caprover deploy -a THE_APP, or caprover deploy -a THE_APP -p THE_PASSWORD I can step through the interactive prompts just fine*.

If I include the machine name it just does the following. I've let it set for 20+ minutes. It usually takes less than 5 for a deploy.

This is on Windows 10 with Powershell or cmd.

⪫ caprover deploy -a THE_APP -n THE_MACHINE -p THE_PASSWORD

------------
CapRover CLI has recently been refactored. Please report potential bugs here: https://github.com/caprover/caprover-cli/issues
------------


Preparing deployment to CapRover...

**** Protip ****
You seem to have deployed THE_APP from this directory in the past, use --default flag to avoid having to re-enter the information.

**** Warning ****
No captain-definition was found in main directory: unless you have specified a special path for your captain-definition, this build will fail!

Ensuring authentication...

* Except for the fact that I always have to press enter twice after accepting the warning that uncommited and gitignored files will not be pushed. If I only press it once, it looks like the script has frozen.
@githubsaturn
Copy link
Collaborator

Duplicate of #36

Unfortunately I don't have a windows box, so we'll have to wait for a contributor to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants