PlotlyJS Pkg.add error : Markdown not defined

Want to use PlotlyJS as backend for plots. So I do

Pkg.add(“PlotlyJS”)

I get following error

Building PlotlyJS → ~/.julia/packages/PlotlyJS/3eSkF/deps/build.log
┌ Error: Error building PlotlyJS:
│ % Total % Received % Xferd Average Speed Time Time Time Current
│ Dload Upload Total Spent Left Speed
100 1332k 100 1332k 0 0 185k 0 0:00:07 0:00:07 --:–:-- 190k
│ % Total % Received % Xferd Average Speed Time Time Time Current
│ Dload Upload Total Spent Left Speed
100 2726k 100 2726k 0 0 3766k 0 --:–:-- --:–:-- --:–:-- 3766k
│ ERROR: LoadError: LoadError: UndefVarError: Markdown not defined
│ Stacktrace:
│ [1] include at ./boot.jl:317 [inlined]
│ [2] include_relative(::Module, ::String) at ./loading.jl:1038
│ [3] include(::Module, ::String) at ./sysimg.jl:29
│ [4] include(::String) at ./client.jl:388
│ [5] top-level scope at none:0
│ [6] include at ./boot.jl:317 [inlined]
│ [7] include_relative(::Module, ::String) at ./loading.jl:1038
│ [8] include(::Module, ::String) at ./sysimg.jl:29
│ [9] include(::String) at ./client.jl:388
│ [10] top-level scope at none:0
│ in expression starting at /home/digvijay/.julia/packages/PlotlyJS/3eSkF/deps/make_schema_docs.jl:3
│ in expression starting at /home/digvijay/.julia/packages/PlotlyJS/3eSkF/deps/build.jl:10
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1068

Initially I thought I could live without PlotlyJS and started using gr() backend. However, now when I start adding other package (JuliaFEM) it throws error as it is dependent on PlotlyJS. And JuliaFEM is a package I need.

I see that this particular error can be removed if I change
using Base.Markdown: MD
to
using Markdown: MD
in make_schema_docs.jl file.

But this gives another error related to 8th line in the same file. I am just a beginner in Julia and cannot do anything sensible to eliminate that error.

Is there any solution?

Presently you can

(v0.7) pkg> add PlotlyJS#sl/0.7

which adds the latest branch, with julia 0.7 only. Works for me in REPL (but not yet as backend for Plots). See also

https://github.com/sglyon/PlotlyJS.jl/issues/201

Thanks for the info. I am currently using v1.0 and as per github issues, it is known as reported issue to be fixed soon. Hope it happens soon.

Meanwhile will try installing v0.7 to see if things work there.