Create & Configure an AWS Amplify Project with a React Application

Instructornader dabit

Share this video with your friends

Send Tweet

In this lesson we’ll create a new React application, create a new AWS Amplify project, & configure the React application to begin working with Amplify & AWS services.

nader dabitinstructor
~ 5 years ago

Noe - The newer versions of the CLI no longer will create the .amplifyrc file.

Steffen Weidenhaus
~ 5 years ago

@nader - It did create it for me. Please note that the "ls" command won't show hidden files, so use "ls -a" or "ls -la"

とうせいきょう
~ 5 years ago

Yes, the newer versions(1.1.2) of the CLI no longer will create the .amplifyrc file

~ 5 years ago

When I type 'npx create-react-app my-amplify-app' into terminal I get an error message and it doesn't create the app: "yarn add v1.5.1 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... error css-loader@1.0.0: The engine "node" is incompatible with this module. Expected version ">= 6.9.0 <7.0.0 || >= 8.9.0". error An unexpected error occurred: "Found incompatible module". info If you think this is a bug, please open a bug report with the information provided in "/Users/robertsmith1/my-amplify-app/yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation. yarnpkg add --exact react react-dom react-scripts --cwd /Users/robertsmith1/my-amplify-app has failed.

Deleting generated file... package.json Deleting generated file... yarn.lock Done."

I've googled everything I can think of, tried a bunch of 'fixes' but nothing has changed.