Error: Gcode word repeated and engraving a line through my project before stopping

This is almost certainly a USB communication problem.

Some previous discussions cover similar problem & the solution: