Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pusher.ScriptReceivers[1] is not a function

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

aaronhuisingacommented, Oct 11, 2016

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.

sirfanqadircommented, Dec 3, 2016

Issue solved when move the script in Footer

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found