(index):28 Uncaught TypeError: Cannot read properties of undefined (reading 'channel')
I want a notification to appear on the page whenever a new post is created. However, I’m getting an error stating that the 'channel' property cannot be identified. I’ve verified that the event name and its corresponding method are correct. The Pusher settings in the `.env` file are also correct. The `vite.config.js` configuration is correct as well. <!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{{ config('app.name', 'Laravel') }}</title> <!-- Fonts --> <link
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.