stepper motor vibrating but not moving

Hi ,
I am experiencing the same kind of problem.
I have two steppers I need to test using A4988 Stepper Motor Drivers and Arduino.

STEPPERS SPECS

Nema 17 stepper motor :

200 steps per revolution (1.8 deg/step)
2 Phase bipolar 4 wires
Rated Voltage 2V DC
Rated Current 1.2A

Nema 17 stepper motor:

200 steps per revolution (1.8 deg/step)
2 Phase 4 wires
Rated Voltage 4.83V
Rated Current 0.84A

I have connected the motors countless times according to the diagram in the link below

and I am powering my circuit with a 9V battery. I am quite sure that the wiring is correct unless something really important isn't mentioned on the diagram. But no matter what demo code I run, the motor just vibrates and makes a scary noise but the shaft doesn't rotate :frowning: . I really can not identify my problem, need help :confused: