It left the League One side, now under the management of Richie Wellens, with insufficient numbers to honour the Tuesday night game.
"The safety, health and well-being of the players, staff and supporters of both teams was paramount in taking the decision to call off the game," said a club statement.
“All other pre-season friendlies are expected to go ahead as planned. Everyone at the club would like to thank Spennymoor Town for their understanding and support following the cancellation of this match.”
Bradford City's annual friendly against Eccleshill United has also been cancelled because of the virus.
Support The Yorkshire Post and become a subscriber today. Your subscription will help us to continue to bring quality news to the people of Yorkshire. In return, you'll see fewer ads on site, get free access to our app and receive exclusive members-only offers. Click HERE to subscribe.