Plots not showing up in JupyterLab - build failed

I’ve run into the “plots not showing up on Jupyter Lab” issue. I’ve installed the jupyterlab-plotly extension but jupyter lab build seems to fail with this error message:

ModuleNotFoundError: Module not found: Error: Can't resolve 'mdi-react/FileExportIcon' in '/opt/conda/share/jupyter/lab/staging/node_modules/plotly-icons/lib'

Any idea how to resolve this error?