Pusher.ScriptReceivers[1] is not a function
See original GitHub issueI’m not quite sure why I’m getting this error in the client.
Auth is going through fine to pusher, however the response doesn’t get handled.
import Echo from "laravel-echo";
window.Echo = new Echo({
broadcaster: 'pusher',
key: 'MY KEY',
cluster: 'eu'
});
window.teamChanel = window.Echo.private('team.'+window.teamId);
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
Error: Pusher.ScriptReceivers[1] is not a function #263 - GitHub
I just ran into this issue using pusher in my angular-cli project using es6 imports to add pusher and webpack it. "Fixed" it...
Read more >Issues implementing Broadcasting with pusher - Stack Overflow
I am using laravel 5.2, and implementing real time notification when a task is completed. I have one event and one listeners. My...
Read more >Uncaught TypeError: Pusher.auth_callbacks.1 is not a function
Uncaught TypeError : Pusher.auth_callbacks.1 is not a function.
Read more >Create a Laravel and VueJS Powered Real Time Chat Room
Read this detailed tutorial on how you could easily create a realtime chatroom application using Laravel 5.4, VueJS and Pusher.
Read more >Free Automated Malware Analysis Service - powered by Falcon ...
Submit malware for free analysis with Falcon Sandbox and Hybrid Analysis technology. Hybrid Analysis develops and licenses analysis tools to fight malware.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m seeing this as well. Pusher notifications are still functioning properly, but it shows in my console on page load.
Edit: I believe I’ve actually figured this out on my end. I’d previously been using Pusher notifications without Echo, and had forgotten to remove the Pusher.js file from my Elixir/Gulp compilation. I’m assuming this caused it to load Pusher twice, as Echo was imported which required Pusher as well.
Issue solved when move the script in Footer