Produced outputs are not visible after exporting .ipynb to .html

Hi!

I really enjoy using plotly library so far. Everything works fine within jupyter notebooks, but when I try to export them to html files, I canโ€™t see produced outputs. Things Iโ€™ve tried:

plotly.offline.init_notebook_mode(connected=True)
plotly.offline.init_notebook_mode()
pio.renderers.default = 'jupyterlab' (and other options)

Sometimes there is white space that looks like placeholder for a figure, sometimes not.

Here are some errors I get:

What can cause that?