Open attilah opened 2 years ago
Why would you override auth on an empty project?
I've changed this to a bug for the error and stack trace. It would be helpful if the CLI failed faster and did not allow us to run amplify override auth
in a project where auth is not already present.
Before opening, please confirm:
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
14
Amplify CLI Version
7.x
What operating system are you using?
macos
Amplify Categories
auth
Amplify Commands
Not applicable
Describe the bug
override auth
fails when project has no resources:Expected behavior
Provide proper error message
Reproduction steps
GraphQL schema(s)
Log output
Additional information
No response