Skip to content

PlotlyJS fails to precompile on Julia 1.10.x #501

Open
@ninjit

Description

@ninjit

Can't add/use PlotlyJS on Julia 1.10.x, because WebIO, Blink, and JSExpr fail to precompile.

Julia Version details:

julia> versioninfo()
Julia Version 1.10.9
Commit 5595d20a287 (2025-03-10 12:51 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin24.0.0)
  CPU: 10 × Apple M1 Max
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 8 default, 0 interactive, 4 GC (on 8 virtual cores)
Environment:
  JULIA_NUM_THREADS = auto

Status of bare environment trying to add PlotlyJS:

(Plotly) pkg> st
Status `~/Work/Coding/Julia/Plotly/Project.toml`
  [f0f68f2c] PlotlyJS v0.18.16

The precompilation error I see:

✗ WebIO
  ✗ JSExpr
  ✗ Blink
  ✗ PlotlyJS
Precompiling packages finished.
  0 dependencies successfully precompiled in 7 seconds. 58 already precompiled.
  4 dependencies errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

Looking through the julia discourse, it seems the problems with WebIO Blink etc. may not be fixed.
So is there a workaround to keep using Plotly as a backend to Plots?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions