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

Can not run react-native on android

$
0
0

How to fix this error on running react-native on android

Failed to construct transformer:  DuplicateError: Duplicated files or mocks. Please check the console for more info
at setModule (/home/user/HelloWorld/node_modules/jest-haste-map/build/index.js:620:17)
at workerReply (/home/user/HelloWorld/node_modules/jest-haste-map/build/index.js:691:9)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Promise.all (index 16960) {
   mockPath1: 'node_modules/react-native/template/package.json',
   mockPath2: 'package.json'
}

Viewing all articles
Browse latest Browse all 28480

Trending Articles



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