Closed hbapps20 closed 2 months ago
I find the solution, what was wrong is that I wasan't executing the backend phase in the CICD amplify.yml file, which is the one I think that generates the amplifyconfiguration.json file, soy I add the following code to my ammplify.yaml file:
backend:
phases:
build:
commands:
- echo Installing backend...
- amplifyPush --simple
Hey @hbapps20, glad to hear you were able to mitigate the issue. Amplify CLI generates the amplify-configuration.json
on a push or pull.
Closing the issue.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
20.15.1
Amplify CLI Version
12.12.4
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
Cannot find module ."/amplifyconfiguration.json" I'm trying to build and deploy with amplify my angular + ionic application. Buildin locally it seems to be no issue, but when amplify runs CICD, it fails.
Logs from amplify:
this is my amplify.yml file:
And this is amplify role: amplifyconsole-backend-role-aw001-flai
Expected behavior
I expect that amplify build and deploy in the cloud my application
Reproduction steps
Project Identifier
No response
Log output
Additional information
package.json file
Before submitting, please confirm: