nvm use 18.10.0 First run local node with npx hardhat node then deploy with npx hardhat run scripts/deploy-dao-factories.ts --network local