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

Handle invalid project owner error #163

Closed
barthap opened this issue Dec 16, 2020 · 1 comment
Closed

Handle invalid project owner error #163

barthap opened this issue Dec 16, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@barthap
Copy link
Contributor

barthap commented Dec 16, 2020

ensureProjectExists crashes with cryptic HTTP 500 in the following situation:

  • I am logged in to eas-cli as userABC - this name is registered in user database
  • I am inside project directory where in app.json i have different username:
{
  "owner": "userXYZ""
}
  • User userXYZ doesn't exists on www
  • When ensureProjectExists is called, it tries to create non existing project @userXYZ/my-app and fails with HTTP 500 with no message

We should handle these cases in some way and at least show a proper error message.

@dsokal
Copy link
Contributor

dsokal commented Sep 17, 2021

 dsokal@Dominiks-MacBook-Pro  ~/work/expo/example-apps/teecee   main  eas_dev build
✔ Select platform › All
    AssertionError: You must have access to the dominikdoesntexist account to run this command
    Code: ERR_ASSERTION

@dsokal dsokal closed this as completed Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants