Error loading Configuration File

I do have an error on my mac when installed using brew and checking for successful installation of packer. Tried to uninstall and reinstall it again but the same issue. Searched for the possible solutions and tried to change the path but no luck. Just checking if someone could help me in fixing this issue.
Error loading configuration… Exit status 2

Can you share more logs and some information about your environment? The single logline alone isn’t super helpful. Is it failing in the brew install, or is it failing when you actually try to call Packer?

Is it failing when I was trying to call packer.

Any update on this behavior after packer installation ?