From Season 1:Wish Upon a Star
From Wiki: Wish Upon a Star 111 November 24, 1965
Major West is nearly killed when Dr. Smith causes an explosion and a fed up Professor thinks it best if he leave. Dejected, Smith heads off, but he is followed by Will who feels sorry for him. Smith and Will then find the wreckage of an alien spaceship and a mysterious machine that creates anything they wish for. Word of the magical machine reaches the Robinsons who want to use the device as well, but their eventual greed forces the Professor to get rid of it. Refusing to destroy it, Smith takes it back to the alien ship, but there he summons a servant to tend to his needs. The machine instead, conjures a menacing mummy-like creature who tries to take the machine away. Guest star: Dawson Palmer (Rubberoid):
Smith wishes for a new Jupiter 2 and they get a mini J2.