ashbeech / moralis-poll

60 stars 140 forks source link

npm ERR! Could not resolve dependency: npm ERR! peer moralis@">=0.0.176" from react-moralis@0.3.11 #2

Open justinestrada opened 2 years ago

justinestrada commented 2 years ago

Ran git clone Ran sudo npm i Got error:


npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: ethereum-boilerplate@0.1.0
npm ERR! Found: moralis@0.0.118
npm ERR! node_modules/moralis
npm ERR!   moralis@"^0.0.118" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer moralis@">=0.0.176" from react-moralis@0.3.11
npm ERR! node_modules/react-moralis
npm ERR!   react-moralis@"^0.3.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/{user}/.npm/eresolve-report.txt for a full report.```
vibhaBlockchain commented 2 years ago

Getting the same error. @ashbeech can you help with the resolution for this?

gap579137 commented 2 years ago

Ran git clone Ran sudo npm i Got error:

npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: ethereum-boilerplate@0.1.0
npm ERR! Found: moralis@0.0.118
npm ERR! node_modules/moralis
npm ERR!   moralis@"^0.0.118" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer moralis@">=0.0.176" from react-moralis@0.3.11
npm ERR! node_modules/react-moralis
npm ERR!   react-moralis@"^0.3.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/{user}/.npm/eresolve-report.txt for a full report.```

I suspect you are trying "npm i" or "npm install" try yarn install

gap579137 commented 2 years ago

Getting the same error. @ashbeech can you help with the resolution for this?

I suspect you are trying "npm i" or "npm install" try yarn install

Npscholar commented 2 years ago

Thanks yarn install worked for me!