You haven't given any real information or posted links to the motor or motor driver you're using or posted any code or said how everything is powered.
My guess is you don't have sufficient power to move the motor. But without information it is just a guess.
Steve