amplify-cli: Running amplify push after updating to updated CLI causes error;

Describe the bug Running amplify push after updating to updated CLI causes error;

To Reproduce Steps to reproduce the behavior:

  1. Run amplify push
  2. Accept migration instructions
  3. See error:
Migrating your API. This may take a few minutes.
× An error occured when migrating the API project.
× An error occurred when pushing the resources to the cloud

Cannot read property 's3TemplateURL' of undefined

Expected behavior It works.

Would appreciate any ideas on how to solve this or get logs for your use. Thank you!

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (15 by maintainers)

Commits related to this issue

Most upvoted comments

Interesting. So you have a standalone function which is not previously deployed. Just to root cause, can you remove that (make sure to back up the function code) and then run an amplify push and see if the migration works?