Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix warnings #34

Open
mcfiredrill opened this issue Jun 10, 2023 · 0 comments
Open

fix warnings #34

mcfiredrill opened this issue Jun 10, 2023 · 0 comments

Comments

@mcfiredrill
Copy link
Member

 application :redix is used by the current a
pplication but the current application does 
not depend on :redix. To fix this, you must 
do one of:                                  
                                            
  1. If :redix is part of Erlang/Elixir, you
 must include it under :extra_applications i
nside "def application" in your mix.exs     

  2. If :redix is a dependency, make sure it
 is listed under "def deps" in your mix.exs
                                            
  3. In case you don't want to add a require
ment to :redix, you may optionally skip this
 warning by adding [xref: [exclude: [Redix.P
ubSub]]] to your "def project" in mix.exs   
                                            
Invalid call found at 2 locations: 
  web/channels/room_channel.ex:23: Chat.Room
Channel.join/3                              
  web/channels/user_notification_channel.ex:
6: Chat.UserNotificationChannel.join/3

There's a few like this I don't know why

[warning] The :pubsub key in your Chat.Endpo
int is deprecated.                          
                                            
You must now start the pubsub in your applic
ation supervision tree.
Go to lib/my_app/application.ex and add the 
following:

    {Phoenix.PubSub, [name: Chat.PubSub, ada
pter: Phoenix.PubSub.PG2]}

Now, back in your config files in config/*, 
you can remove the :pubsub
key and add the :pubsub_server key, with the
 PubSub name:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant