It is likely that you have your artboard (named "Main" on the properties panel) set at a 0px height and width. 

If you set a proper size (say 500 by 500 px) you can use preview mode and export correctly.

Please make sure to set the height and width of your artboard at frame 0.

Did this answer your question?