Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

React Native expo error: duplicated files or mocks

$
0
0

I started a React Native project which is using AWS Amplify as backend.

Until adding the amplify project, Expo was rendering my app properly.

Here are the detailed steps I took since installing Amplify:

I installed Amplify CLI.

then initialized Amplify: amplify init.

I then used the cmd amplify add auth and added Google sign-in option.

Finally I amplify push which seem to have worked as I got hosted URIs.

Apologies for the details, as I have no clue WHERE the problem occurred.

When I yarn start my expo project, I get the following error:

Error: Duplicated files or mocks. Please check the console for more info    at setModule (<root dir>\node_modules\jest-haste-map\build\index.js:543:17)    at workerReply (<root dir>\node_modules\jest-haste-map\build\index.js:614:9)    at processTicksAndRejections (node:internal/process/task_queues:96:5)    at async Promise.all (index 54)    at <root dir>\node_modules\jest-haste-map\build\index.js:426:22  

Please help as I am not able to run my project in Expo.


Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>