# Precompilation errors while adding self-developed package to another package

**URL:** <https://discourse.julialang.org/t/precompilation-errors-while-adding-self-developed-package-to-another-package/124028>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [December 20, 2024, 2:23pm UTC](https://discourse.julialang.org/t/precompilation-errors-while-adding-self-developed-package-to-another-package/124028 "2024-12-20T14:23:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [December 23, 2024, 12:13pm UTC](https://discourse.julialang.org/t/precompilation-errors-while-adding-self-developed-package-to-another-package/124028/5 "2024-12-23T12:13:28Z")

</div>

You didn’t show the full environment (`]status -m`), but presumably you also got an old version of Plots.jl, so another option is to add compat entry for it (which is always a good idea, besides being mandatory for packages in the General registry)

```toml
Plots = "1.40"

```

Side question, why does your package depend on Pkg.jl and Plots.jl at all?

---

_[View the full topic](https://discourse.julialang.org/t/precompilation-errors-while-adding-self-developed-package-to-another-package/124028)._
