Closed j2l closed 3 years ago
The circular dependencies are just noise that Rollup generates and do not affect the behavior of the code.
It looks like you are trying to import from a .tgz URL. Did you meant to say .js here?
import notebook from "https://api.observablehq.com/d/b031b9acc6db3c72.tgz?v=3";
Also for this to work, you’ll need to publish your notebook (unlisted, if you like). Alternatively you can use the Download code action in the notebook menu to get a local copy.
If you need further assistance please ask for help at https://talk.observablehq.com. Thanks!
Thanks @mbostock
FTR, I also noted that import { Runtime, Inspector } from "./runtime";
with the runtime.js from the tgz doesn't throw errors.
Maybe ObesrvableHQ should evaluate Svelte to export. There are so close and on different markets. :smiley_cat:
Hi,
Trying https://observablehq.com/d/b031b9acc6db3c72 with up to date svelte template, when I run
npm run dev
I get:in App.svelte I pasted from the example:
I also tried with another local script and no inspector
without luck.
No idea why the Inspector throws this error or how to make this example work. Any idea?