Developers of townhomes, affordable housing said town’s requirements would make both projects financially infeasible.