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)
bug
After installing Plot with `npm install @observablehq/plot`, and importing like so:
```ts
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
关闭于 2025-08-24 1 条评论