grych/drab

this.Socket is not a constructor

andyselden opened this issue · 4 comments

Having issues with this even after following along here https://hexdocs.pm/drab/Drab.Client.html. Any ideas?

screen shot 2018-10-20 at 12 31 01 am
screen shot 2018-10-20 at 12 31 13 am

grych commented

Hey, thanks for reporting. Is there Phoenix 1.4 with webpack?

This is Phoenix 1.3 and I am using brunch.

grych commented

Do you have a custom :js_socket_constructor config set?

Can you show how you initialize Drab in the app.html.eex?

grych commented

Closing after 28 days as it is not replicable.