にはほとんど人がいなかった

there were hardly any people

→ に
phrase Rare #37,163
there were hardly any people Used to say that very few people were at a particular place.
JA: 駅にはほとんど人がいなかった。
EN: There were hardly any people at the station.

公園にはほとんど人がいなかった。

There were hardly any people in the park.

海岸にはほとんど人がいなかった。

There were hardly any people on the beach.

部屋にはほとんど人がいなかった。

There were hardly any people in the room.

気持ちのよい天気だったが、公園にはほとんど人がいなかった。

The weather was lovely, but there were hardly any people in the park.

雨が降ったので海辺にはほとんど人がいなかった。

Because it had rained, there were hardly any people at the beach.