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
Unable to resolve module ./src/aws-exports
in demo app
#669
Comments
Hey @vomc , I just tried to follow steps and had no problem running the starter. This is what I did:
Could you check if you have One possible cause is maybe if you are having older version of awsmobile-cli. Could you try |
Ok, let me try with |
is there a |
Yup that was it. I can confirm that there is now a |
Sorry to revive this, but I'm having the same issue. Thanks in advance. |
Hmm interesting. Maybe try to do an |
Same problem don't see the aws-export.js tried npm install -g awsmobile-cli@latest and npm update. |
@matias91 |
My problem was I just ran the "awsmobile start my-project react-native" command and did not download the git code in the folder. That resolved the error but now facing a new issue: Bundling |
I have the same problem for a week, I have tried to do everything in this thread and uninstall and reinstall everything. The aws-exports.js file does not appear anywhere, any ideas? |
Same here. aws-exports.js does not appear. |
aws-amplify/amplify-cli#23 << See here for details |
Thanks Erica. Also seems like awsmobile cli has moved/renamed to amplify cli... |
Thanks @ericathegreat thats helpful. Amazon is so great at making these services but does such a poor job writing their docs haha. One would think this is mentioned, because in the react native docs for amplify it jumps right into code referencing aws-exports. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
I am reporting a bug in the aws react-native starter demo app: https://github.com/aws-samples/aws-mobile-react-native-starter
Following all steps here verbatim in terms of install and config and then doing
npm run ios
.App builds and then I get the ios simulator with an iPhone 6 open and a confirmation that the build succeeded.
However then when the app starts I get that typical red reactNative error screen saying that the app was
could not resolve /Users/myCompName/Documents/awsTestApp/awsChat/src/aws-exports as a folder: it did not contain a package, nor an index file
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than AWS Amplify.
What is the expected behavior?
Not sure but I assumed the demo app would just work???
Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions?
You can turn on the debug mode to provide more info for us by setting
window.LOG_LEVEL = 'DEBUG';
in your app.The text was updated successfully, but these errors were encountered: