This verbage is a bit vague if it is Cordova's fault or the user's fault. How about something like "No platforms were selected. Please choose at least one of the supported platforms." and invoke optimist.showHelp(). Is there anyone to catch this throw?