Except as hereinafter provided, no principal building shall be erected on any lot which does not have immediate frontage on at least one public street for a distance of not less than 25 feet.