awsdocs / aws-amplify-console-user-guide Goto Github PK
View Code? Open in Web Editor NEWThe open source version of the AWS Amplify Console User Guide.
Home Page: https://docs.aws.amazon.com/amplify/latest/userguide/
License: Other
The open source version of the AWS Amplify Console User Guide.
Home Page: https://docs.aws.amazon.com/amplify/latest/userguide/
License: Other
I followed these instructions with my project but when the build occurs I get the following backend build error. Any suggestions on cause would be appreciated
# Starting phase: build
# Executing command: amplifyPush --simple
2019-06-13T03:19:08.118Z [INFO]: # Getting Amplify CLI Cloud-Formation stack info from environment cache
2019-06-13T03:19:08.124Z [INFO]: # Start initializing Amplify environment: prod
# Initializing new Amplify environment: prod (amplify init)
2019-06-13T03:19:12.022Z [INFO]: Note: It is recommended to run this command from the root of your app directory
2019-06-13T03:19:12.800Z [INFO]:
2019-06-13T03:19:12.800Z [INFO]: For more information on AWS Profiles, see:
https://docs.aws.amazon.com/cli/latest/userguide/cli-multiple-profiles.html
2019-06-13T03:19:12.868Z [WARNING]: - Initializing your environment: prod
2019-06-13T03:19:13.294Z [WARNING]: ✔ Initialized provider successfully.
019-06-13T03:19:05.065Z [INFO]: Git SSH Key acquired
2019-06-13T03:19:05.170Z [INFO]: Cloning repository: [email protected]:katenelson42/onlinecoop.git
2019-06-13T03:19:05.294Z [INFO]: Agent pid 67
2019-06-13T03:19:05.299Z [WARNING]: Identity added: /root/.ssh/git_rsa (/root/.ssh/git_rsa)
2019-06-13T03:19:05.322Z [WARNING]: Cloning into 'onlinecoop'...
2019-06-13T03:19:05.383Z [WARNING]: Warning: Permanently added the RSA host key for IP address '192.30.255.112' to the list of known hosts.
2019-06-13T03:19:06.190Z [INFO]: Switching to commit: f83bbe61d7cf1843ca5d107457d8d50ec39611ba
2019-06-13T03:19:06.227Z [WARNING]: Note: checking out 'f83bbe61d7cf1843ca5d107457d8d50ec39611ba'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at f83bbe6... Switched graphql back to cognito
2019-06-13T03:19:06.227Z [INFO]: Checking for Git submodules at: /codebuild/output/src082925135/src/onlinecoop/.gitmodules
2019-06-13T03:19:06.258Z [INFO]: Retrieving cache...
2019-06-13T03:19:06.302Z [INFO]: Extracting cache...
2019-06-13T03:19:06.415Z [INFO]: Extraction done...
2019-06-13T03:19:06.416Z [INFO]: Retrieving environment cache...
# Starting phase: build
# Executing command: amplifyPush --simple
2019-06-13T03:19:08.118Z [INFO]: # Getting Amplify CLI Cloud-Formation stack info from environment cache
2019-06-13T03:19:08.124Z [INFO]: # Start initializing Amplify environment: prod
# Initializing new Amplify environment: prod (amplify init)
2019-06-13T03:19:12.022Z [INFO]: Note: It is recommended to run this command from the root of your app directory
2019-06-13T03:19:12.800Z [INFO]:
2019-06-13T03:19:12.800Z [INFO]: For more information on AWS Profiles, see:
https://docs.aws.amazon.com/cli/latest/userguide/cli-multiple-profiles.html
2019-06-13T03:19:12.868Z [WARNING]: - Initializing your environment: prod
2019-06-13T03:19:13.294Z [WARNING]: ✔ Initialized provider successfully.
2019-06-13T03:19:13.449Z [WARNING]: ✖ An error occurred when pushing the resources to the cloud
2019-06-13T03:19:13.449Z [WARNING]: ✖ There was an error initializing your environment.
2019-06-13T03:19:13.449Z [INFO]: init failed
2019-06-13T03:19:13.474Z [INFO]: Error: Could not find a schema at /codebuild/output/src082925135/src/onlinecoop/amplify/backend/api/mfcPosApi/schema.graphql
at /home/circleci/repo/packages/graphql-transformer-core/src/util/amplifyUtils.ts:207:15
at step (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:40:23)
at Object.next (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:21:53)
at fulfilled (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:12:58)
at
2019-06-13T03:19:13.482Z [ERROR]: !!! Build failed
2019-06-13T03:19:13.482Z [ERROR]: !!! Non-Zero Exit Code detected
2019-06-13T03:19:13.482Z [INFO]: # Starting environment caching...
2019-06-13T03:19:13.483Z [INFO]: # Environment caching completed
Terminating logging...
Mmm
in the Running-test MD file there are the steps for setting up in a project that is using npm, but what would the equivalent setup be for a project that is using yarn instead of npm.
Originally posted by @JohSteph890 in ethereum-lists/chains#1679 (comment)
Dear AWS Amplfy team,
After following the steps of the documentation to the letter I still can not access the amplify app on the root domain name.
The steps for the subdomain worked however the apex domain is not working (ie if I type www.example.com it works but example.com does not)
I'm happy to provide any additional info to help identify the missing piece.
Also here's a new screenshot of the redirect creation window:
Thanks!
Amine
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.