Open SlowburnAZ opened 6 years ago
The errors are telling you that your modules can't be found/loaded with the arity provided. Hard to offer any help unless I see the code that's failing. Gist maybe?
So i am getting the same issues as @SlowburnAZ and I actually get thos same errors if i clone the code he references from this repo without any changes. I was able to fix it by referencing Planets
directly and removing the import but my guess is that this is what you were intending to avoid.
Maybe could it have been a change in Elixir
or is it possible that there is something we've missed in config
? If it is it would likely be something really simple :)
Yeah that could be. Which version of Elixir are you on?
Running elixir -v
results in the following
Erlang/OTP 21 [erts-10.1] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1]
Elixir 1.8.1 (compiled with Erlang/OTP 20)
Did you get a chance to work out what the issue may be? I appreciate that this is likely something on our end but any insights you might have would be amazing
Well... crap. The problem that I'm facing is non-trivial. Since the release of this course the language has bumped 5 or so major revs, Ecto has gone from 2.0 to > 3.0 and Postgrex (the DB driver) has overhauled its date system which messes with Timex, which is also a dependency, and has also bumped a release to > 3.x.
My problem is this: to update this I would need to do a full rewrite, which would disassociate it completely from the videos you guys are using, making it pointless. There is no "simple" fix here, that I can see. Amnesia, for instance, has a dependency on "exquisite" which fails compilation due to its own dependency problems. Amnesia itself hasn't been updated in 2 years and the only thing I can do here is to completely redo the bits on mnesia
or to toss the whole thing out.
I took the Elixir course offline about 4 months ago because of issues like this in the Elixir landscape. I love the language but there are quite a few abandoned projects out there that are causing issues just like this one. I simply couldn't keep up.
To that end: if you'd like full refunds I'm happy to do that and you can, hopefully, put that money toward a more up-to-date resource such as Daily Drip.
Nah man, I know how much work went into this course and it's structure is probably the favourite of all the courses I've done in my career. It shows a true quality of character that you'd offer a refund.
If I can convince you to re-write the course, i'd like to offer my help in doing so
I feel like it would be fairly straightforward to install the specific version of erlang & elixir & all the libraries that the course is designed for.
At the start of the Debugging chapter, before doing anything, I'm just trying to run the tests, and I'm getting the following when running "mix test --trace":
I've made sure all my code matches the code here: https://github.com/bigmachine-io/taking-off/tree/7c05b129cd6c9bf7fd95a3aadecd0472eb510408. I'm assuming that this code should basically be the ending code for the Orbital Distance chapter.
Any help?