Here is my answer. I am also a mac user with the same issue. The problem is that OSX puts .DS_STORE in the run files, crashing the game.
1. Duplicate the mod folder. This will make code editors think you are on a different project.
2. Delete the "runs" folder. This will make IntelliJ (or any code editor, like eclipse) forget about the DS_STORE files.