Open jkoutavas opened 5 years ago
Seconded. I think it would also be helpful to have the completed tutorial's source code, especially since there is deprecated code.
For instance, import uuid from 'uuid/v4'
has been deprecated. I replaced that line with import uuid from "react-uuid";
and was able to continue.
Additionally, I found that I had to have the following 3 lines in order for my app to not throw errors about Amplify not being configured properly:
import Amplify, { Auth } from 'aws-amplify'
import config from './aws-exports'
Amplify.configure(config)
At the "Adding a function running an express server and invoking it from an API call (http)" step, I got unexpected behavior from running curl 'localhost:3000/coins'
, even being on Windows (which has curl support).
At the "Interacting with the new API" step, I encountered this error:
Error: Duplicated files or mocks. Please check the console for more info at setModule (C:\Users\Joyce Quach\Documents\GitHub\RNAmplify\node_modules\jest-haste-map\build\index.js:620:17) at workerReply (C:\Users\Joyce Quach\Documents\GitHub\RNAmplify\node_modules\jest-haste-map\build\index.js:691:9) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Promise.all (index 57)
Great tutorial, thank you.
Any chance of adding the finished app to this repo? As someone new to Amplify integration, I'm trying to follow along with the implementation of the "Sign Out" function, and am getting some runtime errors as I go. Having the completed tutorial's source code would help me find out what I'm missing out on.