text: The reaction was originally carried out in diethyl ether and routinely generated high yields due to the inherent irreversibly of the reaction caused by the formation of nitrogen gas.  Though these reactions can be carried out at room temperature, the rate does increase at higher temperatures. Typically, the reaction is carried out at less than refluxing temperatures.  The optimal reaction temperature is determined by the specific diazoalkane used.  Reactions involving diazomethanes with alkyl or aryl substituents  are exothermic at or below room temperature.  Reactions involving diazomethanes with acyl or aroyl substituents require higher temperatures.  The reaction has since been modified to proceed in the presence of Lewis acids and common organic solvents such as THF and dichloromethane. Reactions generally run at room temperature for about an hour, and the yield ranges from 70%-80% based on the choice of Lewis acid and solvent.