dimaportenko / magento-react-native-community

https://www.youtube.com/playlist?list=PL97fL9DAn9QyNAWAh-X-mFJdXKm96AqVM
63 stars 18 forks source link

Getting error on install #9

Open templatetuners opened 2 years ago

templatetuners commented 2 years ago

When I run first install I get this errors

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: MagentoReactNativeCommunity@0.0.1
npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR!   react@"17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8" from @react-native-async-storage/async-storage@1.13.2
npm ERR! node_modules/@react-native-async-storage/async-storage
npm ERR!   @react-native-async-storage/async-storage@"^1.13.2" from the root project
dimaportenko commented 2 years ago

@templatetuners did you mean you run?

npm install
templatetuners commented 2 years ago

yup

dimaportenko commented 2 years ago

I'll take a look later. Meanwhile, maybe you can try yarn install instead. I'm basically using yarn here.

templatetuners commented 2 years ago
warning " > @react-native-async-storage/async-storage@1.13.2" has incorrect peer dependency "react@^16.8".
warning " > @react-native-community/masked-view@0.1.10" has incorrect peer dependency "react@^16.0".
warning "react-native > use-subscription@1.4.1" has incorrect peer dependency "react@^16.8.0".
warning "react-native > react-native-codegen > jscodeshift@0.11.0" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > react-native-flash-message@0.1.22" has unmet peer dependency "prop-types@^15.0 || ^16.0".
warning " > react-native-ui-lib@5.21.0" has incorrect peer dependency "react-native-gesture-handler@>=1.9.0".
warning " > react-native-ui-lib@5.21.0" has unmet peer dependency "@react-native-community/blur@>=3.4.1".
warning " > react-native-ui-lib@5.21.0" has unmet peer dependency "@react-native-community/datetimepicker@^2.1.0".
warning " > react-native-ui-lib@5.21.0" has unmet peer dependency "@react-native-community/netinfo@^5.6.2".
warning " > react-native-ui-lib@5.21.0" has unmet peer dependency "@react-native-picker/picker@^1.9.4".
warning " > react-native-flipper-apollo-devtools@0.0.2" has incorrect peer dependency "react-native-flipper@^0.61.0".

thanks, works with yarn but you may need to fix this

dimaportenko commented 2 years ago

I don't think those warnings cause any real issues and I'm not going to spend time on this. But PRs are welcome.