Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Pkg.add("Vue") #12

Open
milesfrain opened this issue Feb 7, 2019 · 2 comments
Open

Unable to Pkg.add("Vue") #12

milesfrain opened this issue Feb 7, 2019 · 2 comments

Comments

@milesfrain
Copy link

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
@milesfrain
Copy link
Author

This issue affects InteractNext
JuliaGizmos/InteractNext.jl#21

@Rednas83
Copy link

You can also use include I think

# 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

Was someone able to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants