Dependency issues in morialis-poll repository from "Make a DAO in 10 minutes" tutorial


I have got 2 questions. I followed this tutorial here from how to Make a DAO in 10 minutes site you guys put out… I have cloned the repository from here as mentioned in the tutorial:

However, I get dependency issues when running npm install on the cloned repo locally on my machine.
Below are the error logs:

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]0.118
npm ERR! node_modules/moralis
npm ERR! [email protected]"^0.0.118" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer [email protected]">=0.0.176" from [email protected]
npm ERR! node_modules/react-moralis
npm ERR! [email protected]"^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.

Can anyone provide guidance to resolving this dependency issue?

On the other hand, I have cloned the original repo: git clone

I was able to successfully run npm install and npm start. However, I think there are some codes which I may have to port over from the moralis repo as I don’t see the poll UI after running the repo locally and connecting my Metamask Wallet. Are there specific instructions on how to do this?

it looks like some packages require different versions of Moralis SDK, you could pin the version of packages that is not already pinned

I think it is because I’m having errors cloning the repository on my device. Is there a way I can download the zip and get the folders into VSC?

When cloning on terminal I get the error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun