magento-react-native-community icon indicating copy to clipboard operation
magento-react-native-community copied to clipboard

Getting error on install

Open templatetuners opened this issue 4 years ago • 5 comments

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: [email protected]
npm ERR! Found: [email protected]
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/[email protected]
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

templatetuners avatar Dec 02 '21 12:12 templatetuners

@templatetuners did you mean you run?

npm install

dimaportenko avatar Dec 02 '21 12:12 dimaportenko

yup

templatetuners avatar Dec 02 '21 12:12 templatetuners

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

dimaportenko avatar Dec 02 '21 12:12 dimaportenko

warning " > @react-native-async-storage/[email protected]" has incorrect peer dependency "react@^16.8".
warning " > @react-native-community/[email protected]" has incorrect peer dependency "react@^16.0".
warning "react-native > [email protected]" has incorrect peer dependency "react@^16.8.0".
warning "react-native > react-native-codegen > [email protected]" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > [email protected]" has unmet peer dependency "prop-types@^15.0 || ^16.0".
warning " > [email protected]" has incorrect peer dependency "react-native-gesture-handler@>=1.9.0".
warning " > [email protected]" has unmet peer dependency "@react-native-community/blur@>=3.4.1".
warning " > [email protected]" has unmet peer dependency "@react-native-community/datetimepicker@^2.1.0".
warning " > [email protected]" has unmet peer dependency "@react-native-community/netinfo@^5.6.2".
warning " > [email protected]" has unmet peer dependency "@react-native-picker/picker@^1.9.4".
warning " > [email protected]" has incorrect peer dependency "react-native-flipper@^0.61.0".

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

templatetuners avatar Dec 02 '21 13:12 templatetuners

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

dimaportenko avatar Dec 02 '21 13:12 dimaportenko