Cannot Precompile Plots.jl due to GR

Thanks, now can set the environment variable JULIA_DEBUG to GR before starting julia ?

$ JULIA_DEBUG=GR julia
julia> using Plots
┌ Debug: import GR_jll failed
│   err = [...]
└ @ GR.GRPreferences [...]/GR.jl/src/preferences.jl:7

and post the output ?

Alternatively you can do this from within julia:

julia> ENV["JULIA_DEBUG"] = "GR";
julia> using Plots
[...]

It should trigger GR.jl/preferences.jl at ce153a2626413668d0387d6ff62008e2dc3fbf55 · jheinen/GR.jl · GitHub.