Stepper Motor Basics

I agree, it sounds like a problem with the development environment, not the sketch. Try loading a different sketch: if that also has a problem, then it's definitely an environment problem. A better place to find an answer would be in the Installation & Troubleshooting forum.