You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm guessing this a compatibility issue with Julia 1.0.0+. I'm on Julia 1.1.0.
julia> Pkg.add("Vue")
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Vue [147f7a91]:
Vue [147f7a91] log:
├─possible versions are: 0.1.0 or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions 0.1.0
└─restricted by julia compatibility requirements to versions: uninstalled — no versions left
The text was updated successfully, but these errors were encountered:
# Packages
using WebIO
#using JSExpr
include("..\\Lib\\JSExpr.jl")
# using Vue
include("..\\Lib\\Vue.jl")
template = dom"p[v-if=visible]"("{{message}}")
Vue.vue(template, [:message=>"hello", :visible=>true])
Still 2 warnings and 1 error though
┌ Warning: newid(prefix) is deprecated. Scopes don't need this anymore. To get the scope's id, use scopeid(scope)
│ caller = ip:0x0
└ @ Core :-1
┌ Warning: Scope(id; kwargs...) is deprecated, use Scope(kwargs...) instead.
│ caller = ip:0x0
└ @ Core :-1
ERROR: LoadError: MethodError: no method matching iterate(::typeof(values))
Stacktrace:
[1] iterate at .\generator.jl:44 [inlined]
[2] collect(::Base.Generator{typeof(values),typeof(JSExpr.jsexpr)}) at .\array.jl:606
[3] map(::Function, ::Function) at .\abstractarray.jl:2044
[4] #vue#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Node{WebIO.DOM}, ::Array{Pair{Symbol,Any},1}) at c:\Cloud Files\Projecten\Generator\Lib\Vue.jl:69
[5] vue(::Node{WebIO.DOM}, ::Array{Pair{Symbol,Any},1}) at c:\Cloud Files\Projecten\Generator\Lib\Vue.jl:26
[6] top-level scope at none:0
[7] include at .\boot.jl:326 [inlined]
[8] include_relative(::Module, ::String) at .\loading.jl:1038
[9] include(::Module, ::String) at .\sysimg.jl:29
[10] exec_options(::Base.JLOptions) at .\client.jl:267
[11] _start() at .\client.jl:436
I'm guessing this a compatibility issue with Julia 1.0.0+. I'm on Julia 1.1.0.
The text was updated successfully, but these errors were encountered: