-
Notifications
You must be signed in to change notification settings - Fork 825
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
Unable to push - map is not a function #2365
Comments
@attilah you are correct this was the issue. the path in the |
When a new API is added and if the api is pushed with yes flag (headless mode), then codegen fails with error proj.inclues || []).map is not a function. Updated codegen to return a array of include pattern when using headless mode fix aws-amplify#2365
I am also having this issue... I was originally getting the old "stackUpdate" error, but then I deleted my api and my functions that depend on the api, recreated them, ran amplify push:
Which yml file should I be checking in? This means I can't reliably get my project back up and running if I run into a stackupdate error while pushing. |
You know what? This has nothing to do with yml files in my case... This issue is fixed for me in PR: #2442 |
When a new API is added and if the api is pushed with yes flag (headless mode), then codegen fails with error proj.inclues || []).map is not a function. Updated codegen to return a array of include pattern when using headless mode fix #2365
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Describe the bug
Randomly when pushing I get this error.
This happened while the push was already in progress and caused us to delete the entire stack because it had too many errors which made us lose about 20 users in our user pool, all our database data (which was backed up), all AppSync custom functions and all S3 files
(by the way it is spelled occurred and not occured)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should push changes to Amplify
Additional context
This happens on version 3.9.0, we downgraded to 3.0.0 and pushing works
The text was updated successfully, but these errors were encountered: