Se leggi bene l'errore ti accorgi di cosa si tratta. Sostituisci parseInt con int e vedrai che funge.