# I'm trying to add a basic dependency to a package I'm creating and getting the fol

**URL:** <https://discourse.julialang.org/t/im-trying-to-add-a-basic-dependency-to-a-package-im-creating-and-getting-the-fol/54258>\
**Category:** General Usage\
**Created:** [January 30, 2021, 8:37am UTC](https://discourse.julialang.org/t/im-trying-to-add-a-basic-dependency-to-a-package-im-creating-and-getting-the-fol/54258 "2021-01-30T08:37:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![BridgeBot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bridgebot/32/21491_2.png) [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Post date:** [January 30, 2021, 8:37am UTC](https://discourse.julialang.org/t/im-trying-to-add-a-basic-dependency-to-a-package-im-creating-and-getting-the-fol/54258/1 "2021-01-30T08:37:12Z")

</div>

I’m trying to add a basic dependency to a package I’m creating and getting the following error. Can’t seem to find anything online. Anybody know what might be happening here? I followed PkgTemplates to create everything up to this point.

```julia
  Resolving package versions...
ERROR: KeyError: key "Artifacts" not found

```

Note that the poster on Slack cannot see your response here on Discourse. Consider answering the question there or pinging the poster here on Discourse so they see the reponse.  
[(Original message :slack:)](https://julialang.slack.com/archives/C6A044SQH/p1611995789175200?thread_ts=1611995789.175200&cid=C6A044SQH)

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [January 30, 2021, 8:47am UTC](https://discourse.julialang.org/t/im-trying-to-add-a-basic-dependency-to-a-package-im-creating-and-getting-the-fol/54258/2 "2021-01-30T08:47:11Z")

</div>

@logankilpatrick There seems to be a display bug here. The original message text + icon doesn’t show because it is part of the code block.

---

<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:** [January 30, 2021, 1:05pm UTC](https://discourse.julialang.org/t/im-trying-to-add-a-basic-dependency-to-a-package-im-creating-and-getting-the-fol/54258/3 "2021-01-30T13:05:18Z")

</div>

I think the issue is Slack’s rendering of code blocks, they don’t put a newline after the opening triple backquotes and before the closing backquotes, contrary to markdown syntax

---

<div class="post-metadata">

**Author:** ![logankilpatrick](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/logankilpatrick/32/38123_2.png) [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Post date:** [January 30, 2021, 1:06pm UTC](https://discourse.julialang.org/t/im-trying-to-add-a-basic-dependency-to-a-package-im-creating-and-getting-the-fol/54258/4 "2021-01-30T13:06:25Z")

</div>

Opened an issue here: [Display formatting bug · Issue #3 · JuliaCommunity/SlackBridge · GitHub](https://github.com/JuliaCommunity/SlackBridge/issues/3)

---

<div class="post-metadata">

**Author:** ![floswald](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/floswald/32/195_2.png) [@floswald](https://discourse.julialang.org/u/floswald)\
**Post date:** [February 8, 2021, 3:31pm UTC](https://discourse.julialang.org/t/im-trying-to-add-a-basic-dependency-to-a-package-im-creating-and-getting-the-fol/54258/5 "2021-02-08T15:31:36Z")

</div>

any ideas on how to solve this issue though? (not the display bug)

---

<div class="post-metadata">

**Author:** ![logankilpatrick](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/logankilpatrick/32/38123_2.png) [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Post date:** [February 8, 2021, 3:32pm UTC](https://discourse.julialang.org/t/im-trying-to-add-a-basic-dependency-to-a-package-im-creating-and-getting-the-fol/54258/6 "2021-02-08T15:32:57Z")

</div>

Is the code public? Can you send a link so I can try and reproduce?

Edit: or perhaps more detail around the dep. you are trying to add, etc.

---

<div class="post-metadata">

**Author:** ![floswald](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/floswald/32/195_2.png) [@floswald](https://discourse.julialang.org/u/floswald)\
**Post date:** [February 8, 2021, 3:37pm UTC](https://discourse.julialang.org/t/im-trying-to-add-a-basic-dependency-to-a-package-im-creating-and-getting-the-fol/54258/7 "2021-02-08T15:37:21Z")

</div>

thanks for the help. my student wants to run this pluto notebook on his local machine but runs into this error. he downloads the notebook from here: [https://github.com/floswald/NumericalMethods/blob/master/homework/homework1/discrete\_lockdown.jl](https://github.com/floswald/NumericalMethods/blob/master/homework/homework1/discrete_lockdown.jl)

I told him to log on to here so we should have a better log of what’s going on soon I hope!

---

<div class="post-metadata">

**Author:** ![floswald](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/floswald/32/195_2.png) [@floswald](https://discourse.julialang.org/u/floswald)\
**Post date:** [February 8, 2021, 3:39pm UTC](https://discourse.julialang.org/t/im-trying-to-add-a-basic-dependency-to-a-package-im-creating-and-getting-the-fol/54258/8 "2021-02-08T15:39:29Z")

</div>

oh my i just notice that I call `using Plots` before I create the new environment! damn. is that the reason?

no, in fact cell order is arbitray in Pluto, i forgot.

I created a pluto issue for this now [https://github.com/fonsp/Pluto.jl/issues/906](https://github.com/fonsp/Pluto.jl/issues/906)
