Skip to content

dodge.js:1 Uncaught SyntaxError: The requested module './../../../../interval-tree-1d/interval-tree.js' does not provide an export named 'default' (at dodge.js:1:8) #2338

@SullivanMuse

Description

@SullivanMuse

After installing Plot with npm install @observablehq/plot, and importing like so:

import * as Plot from '@observablehq/plot';

I get the following console error when loading the page in the browser:

dodge.js:1 Uncaught SyntaxError: The requested module './../../../../interval-tree-1d/interval-tree.js' does not provide an export named 'default' (at dodge.js:1:8)

It appears that this is because a dependency "interval-tree-1d" does not have a default export, which "dodge.js" is attempting to import as IntervalTree.

Plot version: 0.6.17

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn’t working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions