The solution to my problem was indeed dependencies. I stumbled upon stale code and the dependencies weren't right.
The solution was: