A method of preparing intermediates for carbapenem antibiotics characterized by treating a N-deprotected acetoxy conpound of the formula: ##STR1## in the presence of a Lewis acid or a silylating agent to yeild an intermediate; and cyclizing the intermediate in the presence of rhodium (II) acetate to form a bicyclic ketoester.