# Plugin dependencies panics

**URL:** <https://community.traefik.io/t/plugin-dependencies-panics/14503>\
**Category:** Traefik v2\
**Tags:** plugin, docker\
**Created:** [May 18, 2022, 1:53pm UTC](https://community.traefik.io/t/plugin-dependencies-panics/14503 "2022-05-18T13:53:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![0xDagal](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/0xdagal/32/5352_2.png) [@0xDagal](https://community.traefik.io/u/0xDagal)\
**Post date:** [May 18, 2022, 1:53pm UTC](https://community.traefik.io/t/plugin-dependencies-panics/14503/1 "2022-05-18T13:53:10Z")

</div>

I'm beginning with Traefik plugin creation and I don't know whenever I add a dependency in my middleware it can't find some functions and panics.  
Note that I'm testing it with Traefik in a docker-compose  
At first, I thought it was because of elasticsearch, but then I tried to rewrite my plugin so that it just does a hello-world using `rsc.io/quote` and `quote.Hello()` and it also crashes.

I don't know much about how traefik handle these, I just know that they have to be vendored because it runs with yaegi.

You can find my code at [https://github.com/0xDagal/charon-passto](https://github.com/0xDagal/charon-passto). Do not judge please, I know it's crappy, but we have to start somewhere.

---

<div class="post-metadata">

**Author:** ![0xDagal](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/0xdagal/32/5352_2.png) [@0xDagal](https://community.traefik.io/u/0xDagal)\
**Post date:** [May 20, 2022, 11:38am UTC](https://community.traefik.io/t/plugin-dependencies-panics/14503/2 "2022-05-20T11:38:13Z")

</div>

I also talked about it here:

> **[r/Traefik - Problem with plugin dependencies](https://www.reddit.com/r/Traefik/comments/usc5ix/problem_with_plugin_dependencies/)**
>
> 5 votes and 1 comment so far on Reddit
