When it connects to metamask, transaction shows a gas limit error and does not proceed. Is there a particular version of metamask or truffle that you used?
I assume you are using a Ganache. You can try using a different instance of Ganache or try working on by creating a workspace and import this new addresses into the metamask. This might solve your issue.
When it connects to metamask, transaction shows a gas limit error and does not proceed. Is there a particular version of metamask or truffle that you used?