# Package Pkg not found in current path AppVeyor julia Nightly #2032

**URL:** https://discourse.julialang.org/t/package-pkg-not-found-in-current-path-appveyor-julia-nightly-2032/47118
**Category:** General Usage
**Created:** [September 23, 2020, 7:37am UTC](https://discourse.julialang.org/t/package-pkg-not-found-in-current-path-appveyor-julia-nightly-2032/47118 "2020-09-23T07:37:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Saer\_Samanipour1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/saer_samanipour1/32/17503_2.png) [@Saer\_Samanipour1](https://discourse.julialang.org/u/Saer_Samanipour1)
#### Post date: [September 23, 2020, 7:37am UTC](https://discourse.julialang.org/t/package-pkg-not-found-in-current-path-appveyor-julia-nightly-2032/47118/1 "2020-09-23T07:37:09Z")

</div>

Hi,

When I test my code via CI services such as AppVeyor for julia Nightly I get the below error.

Would appreciate any help there.

Cheers,  
Saer

**code**

using CompCreate  
using Test  
using JLD  
using CSV  
using DataFrames  
using HDF5  
using Pkg

if in(“MS\_Import”,keys(Pkg.installed()))  
@ eval using MS\_Import  
else  
@ warn “MS\_Import is being installed”  
Pkg.add(PackageSpec(link to the repo))  
using MS\_Import  
end

@ testset “Checking Depenedencies” begin  
#using Base

```julia
path=""
filenames=["test_chrom.mzXML"]
mz_thresh=[0,600]

chrom=import_files(path,filenames,mz_thresh)

d=load("test_chrom.jld")
d1=load("AUX_data.jld","AUX_data")
#println(pwd())
feature_list = CSV.File("test_chrom_report.csv") |> DataFrame!

@ test chrom["MS1"]["Rt"][1] == 0.02
@ test size(d1["Iso"]["ru_m"],1) == 6
@ test feature_list[!,"Nr"][1] == 1

```

end

**config**  
Build started  
git clone -q --branch=master [Bitbucket](https://bitbucket.org/SSamanipour/compcreate.jl.git) C:\projects\compcreate-jl  
git checkout -qf 0224c917419218406528e1238ebc44bb5fa442a8  
Running Install scripts  
iex ((new-object net.webclient).DownloadString(“[https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1](https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1)”))  
Installing Julia…  
Julia Version 1.6.0-DEV.1001  
Commit 46cf572773\* (2020-09-22 12:05 UTC)  
Platform Info:  
OS: Windows (x86\_64-w64-mingw32)  
CPU: Intel(R) Xeon(R) CPU E5-2697 v3 @ 2.60GHz  
WORD\_SIZE: 64  
LIBM: libopenlibm  
LLVM: libLLVM-9.0.1 (ORCJIT, haswell)  
Environment:  
JULIA\_PROJECT = @.  
JULIA\_VERSION = nightly  
echo “%JL\_BUILD\_SCRIPT%”  
“using Pkg; Pkg.build()”  
C:\julia\bin\julia -e “%JL\_BUILD\_SCRIPT%”  
Installing known registries into `C:\Users\appveyor\.julia`  
Added registry `General` to `C:\Users\appveyor\.julia\registries\General`  
Installed Glob ──────────────────────── v1.3.0  
Installed ProgressBars ──────────────── v0.7.1  
Installed Showoff ───────────────────── v0.3.1  
.  
.  
.

Testing Running tests…  
ERROR: LoadError: ArgumentError: Package Pkg not found in current path:

- Run `import Pkg; Pkg.add("Pkg")` to install the Pkg package.  
Stacktrace:  
[1] require(into::Module, mod::Symbol)  
@ Base .\loading.jl:803  
[2] include(fname::String)  
@ Base.MainInclude .\client.jl:444  
[3] top-level scope  
@ none:6  
in expression starting at C:\projects\compcreate-jl\test\runtests.jl:9  
ERROR: Package CompCreate errored during testing  
Stacktrace:  
[1] pkgerror(msg::String)  
@ Pkg.Types D:\buildbot\worker\package\_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:52  
[2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia\_args::Cmd, test\_args::Cmd, test\_fn::Nothing)  
@ Pkg.Operations D:\buildbot\worker\package\_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1580  
[3] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test\_fn::Nothing, julia\_args::Cmd, test\_args::Cmd, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})  
@ Pkg.API D:\buildbot\worker\package\_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:327  
[4] #test#62  
@ D:\buildbot\worker\package\_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:67 [inlined]  
[5] test(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:coverage,), Tuple{Bool}}})  
@ Pkg.API D:\buildbot\worker\package\_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:80  
[6] top-level scope  
@ none:1
