How to disable night?

Solution 1:

From this comment on a post asking the same thing on the Factorio subreddit:

Open the console (by default it's the ` key) and type:

/c game.surfaces[1].always_day=true

If achievements are enabled on your game, you'll get a warning that they will be disabled, and you'll have to enter it again.