I agree. Specifically, it's nonsensical and not in a good way. Yes, it's silly. But it's also a bit triggering for children with fears of the dark, with the line "goodnight noises everywhere".
Can you say more about why you feel this way? I ask because I feel the opposite. To me, saying "goodnight" to noises everywhere is almost like my three-year-old calling a ceasefire for the night; the noises are also going to sleep, so she need not worry.
I understand it won't be like this for everyone, of course. And at the same time, I don't understand the appeal. So to me, it's not a great book all around.