# Remove dep from dev'd package

**URL:** https://discourse.julialang.org/t/remove-dep-from-devd-package/120927
**Category:** General Usage
**Tags:** question, package, testing
**Created:** [October 4, 2024, 4:10pm UTC](https://discourse.julialang.org/t/remove-dep-from-devd-package/120927 "2024-10-04T16:10:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![TimG](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@TimG](https://discourse.julialang.org/u/TimG)
#### Post date: [October 4, 2024, 4:10pm UTC](https://discourse.julialang.org/t/remove-dep-from-devd-package/120927/1 "2024-10-04T16:10:07Z")

</div>

I’m getting an error like this:

```julia
Failed to precompile XLSX [fdbf4ff8-1666-58a4-91e7-1b58723a45e0] to "C:\\Users\\TGebbels\\.julia\\compiled\\v1.10\\XLSX\\jl_9E8E.tmp".
ERROR: LoadError: ArgumentError: Package XLSX does not have ZipFile in its dependencies:
- You may have a partially installed environment. Try `Pkg.instantiate()`
  to ensure all packages in the environment are installed.
- Or, if you have XLSX checked out for development and have
  added ZipFile as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with XLSX

```

XLSX was dependent on both ZipArchive (for write) and ZipFile (for read) for reasons that are unclear. I’ve now removed all dependence in the code on ZipFile so the package only depends on ZipArchive for both read and write. Unfortunately, I can’t test it because the test won’t compile.

I’ve seen some other threads [here](https://discourse.julialang.org/t/how-to-fix-error-loaderror-argumenterror-package-x-does-not-have-y-in-its-dependencies-when-developing-package/88040) and [here](https://discourse.julialang.org/t/remove-a-package-from-dependencies/43056) and have done what they suggest, but I can’t seem to make any progress.

Specificly, in the `...julia\dev\XLSX` folder, I have tried `] Activate .` and have then done `] rm ZipFile` and then added it and removed it again ever so many times. Similarly with instantiate and resolve.

I’m sure there is something simple I’m missing. Can anyone suggest what?

Thanks!

---

<div class="post-metadata">

### Author: ![TimG](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@TimG](https://discourse.julialang.org/u/TimG)
#### Post date: [October 4, 2024, 4:33pm UTC](https://discourse.julialang.org/t/remove-dep-from-devd-package/120927/2 "2024-10-04T16:33:38Z")

</div>

Never mind. I rebooted and all seems to have worked, now.  
😕
