Skip to content

Plotly always crashes #2

Description

@CreativeStoic

This code:

const datas: Datas<"Plotly"> = { data: [{ x: [0], y: [0], type: "bar" }] };
  new Deplot("Plotly", {
    title: "Proportion of Bugs by Month",
    size: { width: 800, height: 600 },
  }).plot(datas);

When executed with this command:
deno run --allow-env --allow-net --allow-read --allow-write --allow-ffi main.ts
Results in this error:

error: Uncaught (in promise) TypeError: Deno.dlopen is not a function
  return Deno.dlopen(
              ^
    at loadLib (https://raw.githubusercontent.com/webui-dev/deno-webui/3ba9bbc9ffd9de870a12b946a7515fa7ede7d38e/src/lib.ts:36:15)
    at new WebUI (https://raw.githubusercontent.com/webui-dev/deno-webui/3ba9bbc9ffd9de870a12b946a7515fa7ede7d38e/src/webui.ts:54:47)
    at new Deplot (https://deno.land/x/deplot@1.1.0/src/deplot.ts:54:18)
    at drawBugsProportionByMonthPlot (file:///Users/xian/core_metrics/main.ts:246:3)
    at file:///Users/xian/core_metrics/main.ts:261:3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions