Closed duranmla closed 1 year ago
Hi @duranmla, could you try to update to the latest amplify version and delete the 'amplify/mock-data', 'amplify/mock-api-resources' folders. I had similar issue and resolved it that way as I think there was a corrupted file.
I would love to work with latest version but I can't due to https://github.com/aws-amplify/amplify-cli/issues/9508#issuecomment-1283655867 and https://github.com/aws-amplify/amplify-codegen/issues/509 whenever I am able to go to latest I will try again.
Still worth to try the proposed without updating to latest version.
Hey @duranmla, Are you still experiencing the issue?
Please re-open if you're still experiencing the issue.
Before opening, please confirm:
How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
16.16.0
Amplify CLI Version
10.2.1
What operating system are you using?
Mac Monterey 12.4
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Amplify Categories
Not applicable
Amplify Commands
Not applicable
Describe the bug
I run
amplify mock
and fails with "Stream Arn must be specified"Expected behavior
The amplify mock does not fail, perhaps this should be a question issue instead.
What is expected from me to do in this case? What's the Stream Arn and how/where I can specify it?
Reproduction steps
Have a schema with several indexes, run amplify mock adding/removing one index at once per table until the whole initial mock process succeed, then I got the error described above.
GraphQL schema(s)
Project Identifier
976fd779f41a5b0cbe838e291735690e
Log output
Additional information
No response