Open vinaymcscet opened 2 years ago
I have at the same error in expo react node :(
have you tried giving your root folder a different name?
yes I have created a one dummy project named - react-demo. And, inside there I have installing the react-share package.
Try yarn add react-share
I am getting (when I go npm install react-share
, this:
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: gatsby-theme-naked-core-2022@1.0.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! react@"^18.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.3.0 || ^17" from react-share@4.4.0
npm ERR! node_modules/react-share
npm ERR! react-share@"*" from the root project```
Any thoughts or instructions on how to fix?
I am getting (when I go
npm install react-share
, this:npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: gatsby-theme-naked-core-2022@1.0.0 npm ERR! Found: react@18.2.0 npm ERR! node_modules/react npm ERR! react@"^18.1.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.3.0 || ^17" from react-share@4.4.0 npm ERR! node_modules/react-share npm ERR! react-share@"*" from the root project``` Any thoughts or instructions on how to fix?
you can ty "--legacy-peer-deps" in the end of your commande
I am getting (when I go
npm install react-share
, this:npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: gatsby-theme-naked-core-2022@1.0.0 npm ERR! Found: react@18.2.0 npm ERR! node_modules/react npm ERR! react@"^18.1.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.3.0 || ^17" from react-share@4.4.0 npm ERR! node_modules/react-share npm ERR! react-share@"*" from the root project``` Any thoughts or instructions on how to fix?
you can ty "--legacy-peer-deps" in the end of your commande
Thank you.
I have getting this error multiple times.