Couldn't find preset "babel-preset-expo"
jvaclavik opened this issue · comments
Jan Václavík commented
I tried to install it with yarn add react-native-conductor
, but it doesn't work.
There are lot of warnings like this:
This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
Duplicate module name: mime-db
Paths: /myapp/node_modules/react-native-conductor/examples/PulldownMenuExample/node_modules/react-native/node_modules/connect/node_modules/compression/node_modules/compressible/node_modules/mime-db/package.json collides with /myapp/node_modules/react-native-conductor/examples/PulldownMenuExample/node_modules/react-native/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/package.json
and
error: bundling: Error: Couldn't find preset "babel-preset-expo" relative to directory "/myapp/node_modules/react-native-conductor/examples/PulldownMenuExample"
I tried also test example, and clean CRNA project with this repo but with the same result.
Jan Václavík commented
There was some issue with react-native init
. Closing.