# Error: Missing source file for PackageCompiler

**URL:** <https://discourse.julialang.org/t/error-missing-source-file-for-packagecompiler/90044>\
**Category:** New to Julia\
**Tags:** question, package, error, package-compiler\
**Created:** [November 10, 2022, 11:01am UTC](https://discourse.julialang.org/t/error-missing-source-file-for-packagecompiler/90044 "2022-11-10T11:01:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![aateg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aateg/32/47963_2.png) [@aateg](https://discourse.julialang.org/u/aateg)\
**Post date:** [March 22, 2023, 11:24am UTC](https://discourse.julialang.org/t/error-missing-source-file-for-packagecompiler/90044/2 "2023-03-22T11:24:29Z")

</div>

According to what was discussed [here](https://discourse.julialang.org/t/error-i-cannot-install-package-meshes/84051) PackageCompiler package might be borked.

Remove the PackageCompiler from `.julia/packages` and then try adding PackageCompiler again.

To avoid this problem is recommended to use [environments](https://pkgdocs.julialang.org/v1/environments/).

I was facing a similar problem and I removed completely `.julia` directory. Installing again the desired package worked

---

_[View the full topic](https://discourse.julialang.org/t/error-missing-source-file-for-packagecompiler/90044)._
