Closed garrettgman closed 1 year ago
cc @wch
I think the fix is more straightforward than I initially believed it would be.
It looks like readLines
was available in https://deno.land/std/io/buffer.ts until version 0.174.0, after which it was removed. At the same time, readLines
has been available in https://deno.land/std/io/mod.ts since the earliest version for which there are docs, version 0.34.0.
So I just unconditionally changed the import from this:
import { readLines } from "https://deno.land/std/io/buffer.ts";
to this:
import { readLines } from "https://deno.land/std/io/mod.ts";
This was in https://github.com/rstudio/shinylive/commit/635b2e62cac8181a06c25940cf496b70b843c417. I'll also make a new release of shinylive and the shinylive python package soon.
This should be fixed now. The way to get the fix is to update to the latest python shinylive package, which you can do with:
pip install --upgrade shinylive
This should install shinylive 0.0.17.
Reposted from https://github.com/quarto-dev/quarto/issues/242.
To which @jjallaire suggests