Only (1) is correct.
The pronoun "it" can only anticipate real, logical subjects (appearing after the verb) when these are infinitival, gerundial, or nominal clauses:
- It's good to fight for what you want.
- It's not worth fighting for what you want.
- It's good that you have decided to fight for what you want.
Only the pronoun "there" can anticipate indefinite nouns or noun phrases:
- There comes a time when... (Here, "there" is the grammatical subject of the sentence.)
As an adverb of place, "there" can also be placed at the beginning of a sentence for emphasis. However, in this case "there" is NOT the grammatical subject. The grammatical subject only appears at the end as a result of a grammatical process known as "full inversion." Also notice that, in this case, the noun or noun phrase need not be indefinite:
- There comes my train at last!
- There comes Mary.