Correction to: Nature Chemistry, published online 1 December 2022.

In the version of this article initially published, there were errors in Fig. 1a, where the stereochemistry display was incorrect; in Fig. 4c, where NMR assignment labels were incorrect; and in Fig. 6, where cube colour coding and reported yields (OH-cube, 86%, not 88%; OMe-cube, 76%, not 85%) were incorrect. The figures have been updated in the HTML and PDF versions of the article.