I experienced the same thing. Particle Dev doesn't appear to be as sophisticated as the command line compile in detecting errors. The command line will generate error messages that Particle Dev won't. Give it a try, then once the error is identified go back to Particle Dev.