Skip to content

Error using Web3 with Julia 1.6 #7

@logankilpatrick

Description

@logankilpatrick

I am trying to use Web3 and get the following:

julia> using Web3
[ Info: Precompiling Web3 [0881af41-a624-557c-96ff-9a730c8d7287]
┌ Warning: Package Web3 does not have HTTP in its dependencies:
│ - If you have Web3 checked out for development and have
│   added HTTP as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with Web3
└ Loading HTTP into Web3 from project dependency, future warnings for Web3 are suppressed.
ERROR: LoadError: ArgumentError: Package Web3 does not have JSON in its dependencies:
- If you have Web3 checked out for development and have
  added JSON as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with Web3
Stacktrace:
 [1] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:884
 [2] include
   @ ./Base.jl:386 [inlined]
 [3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
   @ Base ./loading.jl:1213
 [4] top-level scope
   @ none:1
 [5] eval
   @ ./boot.jl:360 [inlined]
 [6] eval(x::Expr)
   @ Base.MainInclude ./client.jl:446
 [7] top-level scope
   @ none:1
in expression starting at /Users/logankilpatrick/.julia/packages/Web3/bZQyp/src/Web3.jl:1
ERROR: Failed to precompile Web3 [0881af41-a624-557c-96ff-9a730c8d7287] to /Users/logankilpatrick/.julia/compiled/v1.6/Web3/jl_D2TdkN.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
   @ Base ./loading.jl:1360
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base ./loading.jl:1306
 [4] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1021
 [5] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:914
 [6] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:901

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