Hi, I’m having a persistent Pkg error while trying to create a new package. Like in other cases I:
- Created a new repo Webview.jl
dev https://github.com/joa-quim/Webview.jl
- Try to use it
But it annoyingly it insists that the package is not installed when in fact my local copy is exactly equal to the Github repo.
(v0.7) pkg> dev https://github.com/joa-quim/Webview.jl
Cloning git-repo `https://github.com/joa-quim/Webview.jl`
Updating git-repo `https://github.com/joa-quim/Webview.jl`
[ Info: Assigning UUID 46c74a11-416d-571a-8466-59f4bcfc4ddb to Webview
Resolving package versions...
Updating `C:\Users\j\.julia\environments\v0.7\Project.toml`
[46c74a11] + Webview v0.0.0 [`C:\Users\j\.julia\dev\Webview`]
Updating `C:\Users\j\.julia\environments\v0.7\Manifest.toml`
[46c74a11] + Webview v0.0.0 [`C:\Users\j\.julia\dev\Webview`]
julia> using Webview
ERROR: ArgumentError: Package Webview [46c74a11-416d-571a-8466-59f4bcfc4ddb] is required but does not seem to be installed:
- Run `Pkg.instantiate()` to install all recorded dependencies.
Stacktrace:
[1] _require(::Base.PkgId) at .\loading.jl:923
[2] require(::Base.PkgId) at .\loading.jl:852
[3] macro expansion at .\logging.jl:311 [inlined]
[4] require(::Module, ::Symbol) at .\loading.jl:834
(v0.7) pkg> instantiate
Updating registry at `C:\Users\j\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
julia> using Webview
ERROR: ArgumentError: Package Webview [46c74a11-416d-571a-8466-59f4bcfc4ddb] is required but does not seem to be installed:
- Run `Pkg.instantiate()` to install all recorded dependencies.
Stacktrace:
[1] _require(::Base.PkgId) at .\loading.jl:923
[2] require(::Base.PkgId) at .\loading.jl:852
[3] macro expansion at .\logging.jl:311 [inlined]
[4] require(::Module, ::Symbol) at .\loading.jl:834
(v0.7) pkg> st
Status `C:\Users\j\.julia\environments\v0.7\Project.toml`
[c52e3926] Atom v0.7.10
[6e4b80f9] BenchmarkTools v0.4.1
[9e28174c] BinDeps v0.8.10
[40e3b903] Clang v0.7.0
[e30172f5] Documenter v0.20.0
[7a1cc6ca] FFTW v0.2.4
[add2ef01] GDAL v0.2.0
[5752ebe1] GMT v0.5.0+ [`C:\j\.julia\v0.7\GMT`]
[7073ff75] IJulia v1.13.0
[6218d12a] ImageMagick v0.7.1
[e5e0dc1b] Juno v0.5.3
[b033e98c] Laszip v0.0.0 [`C:\Users\j\.julia\dev\Laszip`]
[50d2b5c4] Lazy v0.13.2
[c96a28f8] Libui v0.0.0 [`C:\Users\j\.julia\dev\Libui`]
[ee78f7c6] Makie v0.9.0
[91a5bcdd] Plots v0.19.3
[ee283ea6] Rebugger v0.1.4
[295af30f] Revise v0.7.12
? [46c74a11] Webview v0.0.0 [`C:\Users\j\.julia\dev\Webview`]
[d6f4376e] Markdown
+ Warning: Some packages (indicated with a red arrow) are not downloaded, use `instantiate` to instantiate the current environment
No matter how many times I do what it requests (running instantiate) the error does not go away.
Can’t understand what is the difference with my other (local) packages that work.