After I use mix.gen.live to generate a liveview setup, I’m met with an error:
== Compilation error in file lib/twitterclone_web/live/live_helpers.ex ==
** (CompileError) lib/twitterclone_web/live/live_helpers.ex:57: Phoenix.LiveView.JS.struct/1 is undefined, cannot expand struct Phoenix.LiveView.JS. Make sure the struct name is correct. If the struct name exists and is correct but it still cannot be found, you likely have cyclic module
usage in your code
lib/twitterclone_web/live/live_helpers.ex:57: (module)
This might be an overreach, but my IED is still displaying an exception within my mix file, by underlining all the code red. If I type in the older dependencies, the code exceptions disappear. This obviously isn’t the proper way to go about fixing the issue. Any suggestions?