Closed MarcSkovMadsen closed 1 year ago
@MarcSkovMadsen I can get your example to run in Jupyter, but I do get the same error you mention when running panel serve ...
.
I'll investigate more and see what I can find.
Works with Solara. See https://twitter.com/maartenbreddels/status/1662550931047604225?s=46&t=QCeLnYcdhHHHwawHQ7y8xA
I can confirm Anywidget now works with Panel. See https://discourse.holoviz.org/t/panel-works-with-anywidget/6466
anywidget is a new way of developing ipywidgets with a claim for being easier and more modern. For example mapwidget is built on top of anywidget.
I reported in https://github.com/bokeh/ipywidgets_bokeh/issues/88 that mapwidget.cesium is not working with ipywidgets-bokeh and Panel. So I thought I would try out a basic anywidget example. And I can see that it raises the same issue.
Reproducible Example
script.py
Open http://localhost:5006/script and see the exception in the browser console.