It is not obligatory to have dinner at night but it is Makrouh (disliked) to skip dinner as we read in many narrations. It might be harmful for health to sleep with total empty stomach. You can have light dinner or fruits or vegetables to avoid sleeping with totally empty stomach.
Wassalam.