aws-exports.js file missing
See original GitHub issueConsider a new react-native application… Follow along the instructions, I am trying to add Authentication.
The instructions say:
The ./src/aws-exports.js file that’s created has all of the appropriate cloud resources defined for your application.
Alas, I do not see any such aws-exports.js file being created!
I am using @aws-amplify/cli@1.6.1, Node 10.15.0, NPM 6.4.1, MacOS 10.14.4.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Missing aws-exports.js always when building AWS Amplify ...
My solution was to simply generate aws-exports.js via script before the "npm run build" step. You simply store aws-exports.js contents in an ...
Read more >Configuring build settings - AWS Amplify Hosting
Build settings is visible in the Amplify console's App settings menu only when an app is set up ... You can install OS...
Read more >Getting Started with AWS Amplify - Coder Society
The aws-exports.js file contains all the credentials your client needs to interact with the deployed infrastructure. You'll use it to initialize ...
Read more >Get started - Typical workflows - AWS Amplify Docs
To generate client configuration files (aws-exports.js, amplifyconfiguration.json, or amplifyconfiguration.dart) for an existing project that is listed in the ...
Read more >[Solved]-Region is missing error - AWS Amplify React-Reactjs
In repository from where you are exporting your files, there is a file with name aws-exports.js. It should have a structure like:
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hey @awhitford,
During
amplify initwhich platform did you select in the list of iOS, Android, and Javascript?Also, during
amplify initthere was a prompt to enter your ‘Source Directory Path’. I believe if you used the default it would be at ‘/’ rather than ‘src/’. This is where theaws-exports.jsfile is saved.The documentation can be improved here to read from ‘/’ since that is the default Source path.
@jordanranz i get errorinit failed Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27) { message: ‘read ECONNRESET’, errno: ‘ECONNRESET’, code: ‘NetworkingError’, syscall: ‘read’, region: ‘us-east-1’, hostname: ‘amplify.us-east-1.amazonaws.com’, retryable: true, time: 2020-04-16T11:59:59.320Z