Unable to render lonboard maps in quarto ipynb blog

Open
#11,594 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, jupyter-notebook
Domain
build-system, cli

Research direction

Start by extracting Archive.zip and running quarto preview with the attached notebook and uv lock file. Compare the browser console failure with the notebook's behavior in VSCode and JupyterLab, focusing on the anywidget/lonboard integration. Done means the notebook renders in Quarto with an interactive map and no reported JavaScript error.

Written by the indexing model from the issue text.

Description

bug
Bug description

I've attached a notebook along with a uv lock file where I'm seeing an issue during render:

Archive.zip

This is what it looks like in VSCode:

Image

It renders correctly and is interactable even when using jupyter lab.

But when I run quarto preview and load the page, I see this error:

Image

Here's the error from the javascript console:

Image

I don't see an error like this with folium when rendering with quarto:

Image

It appears to be something with anywidget / lonboard.

Steps to reproduce

Run quarto preview on the attached notebook.

Expected behavior

No response

Actual behavior

No response

Your environment

No response

Quarto check output

quarto --version
1.7.1

Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quarto-dev/quarto-cli

All issues in quarto-dev/quarto-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.