OmegaNalphA
Phoenix.View is not loaded when trying to install Oban Web 2.10.0-rc.3
Hi there, I’m running into an issue when trying to upgrade my Oban Web package from 2.9.7 → 2.10.0-rc.3
I’m following the instructions here: Installation — Oban Web v2.10.0-rc.3 and as the instructions state, I need Phoenix Live View which I already have installed from the instructions here:
https://hexdocs.pm/phoenix_live_view/installation.html
My deps are:
{:oban, “~> 2.10.0-rc.3”},
{:oban_web, “~> 2.10.0”, repo: “oban”},
{:oban_pro, “~> 1.0”, repo: “oban”},
{:phoenix_live_view, “~> 0.16”, override: true},
But I keep getting this error:
== Compilation error in file lib/broadcast_web/live/feature_flag_live.ex ==
** (CompileError) lib/broadcast_web/live/feature_flag_live.ex:2: module Phoenix.View is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module
expanding macro: BroadcastWeb.__using__/1
lib/broadcast_web/live/feature_flag_live.ex:2: BroadcastWeb.FeatureFlagLive (module)
(elixir 1.13.4) expanding macro: Kernel.use/2
Any help would be appreciated, thank you!
Marked As Solved
sorentwo
You’re overriding the LiveView dependency with a much older version that isn’t supported. Web v2.10+ depends on LiveView v0.19+. You’ll need to upgrade LiveView as well.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









