If you attempt to run this from a folder whose name contains the @ symbol (i.e. in a project named after the login) then you will receive an error where the folder name is missing and so the file (such as LeapSFields.cls) cannot be created.
Solution is to remove any special characters from folder name. Recorded for assistance to other possible users rather than for a fix request.