GIF export option is not supported on MAC, only on windows.
If you are using Windows, check if the folder/path on you have installed there is some space, but it should be already fixed just let you know.
Btw, GIF and Json export options are WIP. The option to be used is .PNG spritesheet that works on any OS and engine.