Vim generating invisible extra lines?

I’ve had a strange problem crop up a few times recently when working on a couple of projects—Node projects each time, but I don’t know if that’s particularly relevant. Occasionally I’ll run jshint on file or just try to run it with node, and I’ll get an error like the following: