Closed neilberget closed 7 years ago
With a fresh clone of the repo, if I cd into examples/tutorial and run mix deps.get followed by mix compile I get the following error:
mix deps.get
mix compile
== Compilation error on file lib/riffed_tutorial/models.ex == ** (FunctionClauseError) no function clause matching in :tutorial_types.struct_info_ext/1 src/tutorial_types.erl:21: :tutorial_types.struct_info_ext(:User) lib/riffed/struct.ex:157: Riffed.Struct.build_struct_and_conversion_function/5 (elixir) lib/enum.ex:1623: Enum."-reduce/3-lists^foldl/2-0-"/3 expanding macro: Riffed.Struct.__before_compile__/1 lib/riffed_tutorial/models.ex:1: RiffedTutorial.Models (module)
I'm getting the same error in my own project trying to use riffed so wondering if you have any ideas?
Running Elixir 1.3.4
Nevermind -- realized my issue was with the thrift compiler installed on my system. A fresh install fixed the issue.
With a fresh clone of the repo, if I cd into examples/tutorial and run
mix deps.get
followed bymix compile
I get the following error:I'm getting the same error in my own project trying to use riffed so wondering if you have any ideas?
Running Elixir 1.3.4