like是动词,后面可以接名词或doing的形式作宾语like to是to后面接动词短语构成介宾短语共同做宾语.I would like to do something 是个固定句型,要加to的.

比如:I would like to have a cup of tea.

如果直接跟名词就不用:I would like sth.比如:I would like a cup of tea.