acorn-io/runtime

Local Install - Provide better error messages when trying to work in a project other than `local`

sangee2004 opened this issue · 0 comments

acorn version - v0.10.0-rc2-35-g3cf6c107+3cf6c107

Steps to reproduce the problem:

  1. Install acorn using acorn -j local ps
  2. Once acorn is installed , try to do any acorn commands. User is presented with the following error message:
acorn run -n mytestwp 
  ✗  ERROR:  invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
  1. Try to create a project. User is presented with the following error message:
acorn project create test1
  ✗  ERROR:  invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

Expected Behavior:
In both the above cases , user should be presented with a more friendly message that they will be able to work only with local project .