# Vscode: tag new version failing

**URL:** <https://discourse.julialang.org/t/vscode-tag-new-version-failing/73456>\
**Category:** General Usage\
**Created:** [December 21, 2021, 9:25pm UTC](https://discourse.julialang.org/t/vscode-tag-new-version-failing/73456 "2021-12-21T21:25:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [December 21, 2021, 9:25pm UTC](https://discourse.julialang.org/t/vscode-tag-new-version-failing/73456/1 "2021-12-21T21:25:54Z")

</div>

I am getting this error when using the “tag new version” feature of the VSCode extension:

```julia

┌ Warning: The active manifest file is an older format with no julia version entry. Dependencies may have been resolved with a different julia version.
└ @ ~/.vscode/extensions/julialang.language-julia-1.5.8/scripts/environments/pkgdev/Manifest.toml:0
ERROR: UndefVarError: collect_registries not defined
Stacktrace:
 [1] getproperty
   @ ./Base.jl:35 [inlined]
 [2] tag_internal(package_name::String, pkg_uuid::String, pkg_path::String, version::Symbol; registry::Nothing, release_notes::Nothing, credentials::String, github_username::String)
   @ PkgDev ~/.julia/packages/PkgDev/7hlxi/src/tag.jl:58
 [3] tag(package_path::FilePathsBase.PosixPath, version::Symbol; kwargs::Base.Pairs{Symbol, String, Tuple{Symbol, Symbol}, NamedTuple{(:credentials, :github_username), Tuple{String, String}}})
   @ PkgDev ~/.julia/packages/PkgDev/7hlxi/src/tag.jl:37
 [4] top-level scope
   @ ~/.vscode/extensions/julialang.language-julia-1.5.8/scripts/packagedev/tagnewpackageversion.jl:29
FINISHED

```

The manifest file of my package is already updated, and I just upgraded the registry manually, but with no effect.

Any idea?

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [December 21, 2021, 9:36pm UTC](https://discourse.julialang.org/t/vscode-tag-new-version-failing/73456/2 "2021-12-21T21:36:18Z")

</div>

From the error message I would say that it’s using `Pkg` internals and those internals changed in 1.7.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [January 25, 2022, 9:54pm UTC](https://discourse.julialang.org/t/vscode-tag-new-version-failing/73456/3 "2022-01-25T21:54:08Z")

</div>

I’m getting this error again, and I don’t know what should I do…

I think that if I point the Julia being used by VSCode to 1.6.X it works, but why would I need to do that?

(delting the mentioned Manifest file solves the warning, but not the error).

```julia
┌ Warning: The active manifest file is an older format with no julia version entry. Dependencies may have been resolved with a different julia version.
└ @ ~/.vscode/extensions/julialang.language-julia-1.5.10/scripts/environments/pkgdev/Manifest.toml:0
ERROR: UndefVarError: collect_registries not defined
Stacktrace:
 [1] getproperty
   @ ./Base.jl:35 [inlined]
 [2] tag_internal(package_name::String, pkg_uuid::String, pkg_path::String, version::Symbol; registry::Nothing, release_notes::Nothing, credentials::String, github_username::String)
   @ PkgDev ~/.julia/packages/PkgDev/7hlxi/src/tag.jl:58
 [3] tag(package_path::FilePathsBase.PosixPath, version::Symbol; kwargs::Base.Pairs{Symbol, String, Tuple{Symbol, Symbol}, NamedTuple{(:credentials, :github_username), Tuple{String, String}}})
   @ PkgDev ~/.julia/packages/PkgDev/7hlxi/src/tag.jl:37
 [4] top-level scope
   @ ~/.vscode/extensions/julialang.language-julia-1.5.10/scripts/packagedev/tagnewpackageversion.jl:29
FINISHED

```

Issue filed [here](https://github.com/julia-vscode/julia-vscode/issues/2696).
