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

Running environment:enable on a non-existent env causes fatal problems in ~/.terra/terra #78

Open
jlyon opened this issue Aug 10, 2015 · 1 comment

Comments

@jlyon
Copy link
Contributor

jlyon commented Aug 10, 2015

I seem to be having issues cloning repos occasionally #79.

After I do this, I will instinctively run

terra e:e drupal local

Which will try to run docker build and will write this to the ~/.terra/terra

        environments:
            '':
                url: 'http://localhost:32782'
                name: null                                                                                                                          

Any future terra commands give a fatal error until I manually edit~/.terra/terra .

  [Exception]                                                                                                                        
  There is an error with your configuration: The child node "path" at path "project.apps.popline.environments." must be configured.                                                                                                                                    

Ideally, we should check to see that the environment exists before enabling it.

@jlyon
Copy link
Contributor Author

jlyon commented Aug 14, 2015

This also happens if you're typing too fast, ie

 terra e:e ui local

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

1 participant