Fetching details from the dictionary...

spoiled; spoilt; ruined; wasted (chance, etc.); messed up; destroyed; (coming to) nothing
せっかくの計画が雨で台なしになってしまった。
The carefully laid plan was ruined by the rain.
一つのミスがこれまでの努力を台なしにした。
A single mistake ruined all the effort up to that point.
遅刻したせいで旅行の雰囲気が台なしになった。
Being late ruined the atmosphere of the trip.