-
Notifications
You must be signed in to change notification settings - Fork 824
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
amplifyPush --simple broken Module not found: Error: Can't resolve './aws-exports' in #13515
Comments
Hey @austinamorusoyardstick, thank you for reaching out. The |
How then do I make it optional to run? |
I also was able to run amplify init prior to push simple in my script and it worked |
@austinamorusoyardstick interesting, let me reach out to the console team for some additional information on this behavior. But when utilizing a custom script, you should be able to run amplify cli headless commands to run init and push. |
I find the diff backend doesn't tend to work for us correctly. It often skips builds that it shouldn't. |
@austinamorusoyardstick I was able to get some information, the recommended approach for generating the |
|
Before opening, please confirm:
App Id
d2t0beklulssyh
AWS Region
us-east-1
Amplify Hosting feature
Deployments
Frontend framework
React
Next.js version
N/A
Next.js router
App Router
Describe the bug
When deploying with amplifyPush --simple the building of the lambdas fail because they cannot find the aws-exports.js
Expected behavior
Build works aws-exports.js is available for lambda compilation
Reproduction steps
Build Settings
Log output
Additional information
amplifyPush Session Identifier: 3b5b370e-b5d8-48be-b961-8123d718c701
backend-deploy node script
The text was updated successfully, but these errors were encountered: