bahdcoder / Laravel-5.3-and-Vue-js-2.0-social-network

Social network built with Laravel 5.3 and Vue js 2.0
134 stars 91 forks source link

Pusher : Couldn't get auth info from your webapp : 404 #3

Open yash2code opened 7 years ago

bahdcoder commented 7 years ago

Did you activate your BroadcastServiceProvider class ?

yash2code commented 7 years ago

Sorry, but how to activate?

bahdcoder commented 7 years ago

In config/app.php , the BoradcastServiceProvider is commented out in the providers array. remove the comments. You should follow the youtube series

yash2code commented 7 years ago

its already activated :(

yash2code commented 7 years ago

http://localhost:8000/broadcasting/auth 404 (Not Found)

yash2code commented 7 years ago

ok, still what maybe the cause?

rtd62 commented 7 years ago

@yash2code First make sure you also install the pusher-js package after laravel-echo So, npm install --save pusher-js

Afterwards, you have to go to bootstrap.js and insert import Pusher from 'pusher-js' right below require('noty');

Laravel Mix is a pain.