Getting error unable to resolve dependency tree

Hi. I’m following along with the youtube tutorial on how to make a DAO. I’ve done a git clone of the moralis-poll repo, but when I enter ‘npm i’ I get the following error:

C:\users\jayde\moralis-poll> npm i
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
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/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 [email protected]
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 C:\Users\jayde\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\jayde\AppData\Local\npm-cache\_logs\2022-01-22T17_41_43_504Z-debug.log

Do you think this is a problem with my environment?
I’m using Node.js v16.13.2. and yarn v1.22.17

Thanks,
John

where from did it find this version of Moralis SDK?

from the moralis-poll project on github (https://github.com/ashbeech/moralis-poll)
"moralis": “^0.0.118”, is in https://github.com/ashbeech/moralis-poll/blob/main/package.json

So, it’s right therein the distro referenced by the Moralis youtube video on how to build a DAO in 10 minutes

Seems like you’re using an old version of the SDK but that should be no problem, try to delete the package-lock.json and yarn.lock also node_modules folder and reinstall everything with npm i