Comments (10)
@ysrdevs any chance you use Livewire in your project and have inject_assets
disabled? Looks like Livewire isn't loaded at all (see #87 and #88).
from pulse.
Similar issue, needed to add...
@vite('resources/js/app.js')
@livewireScriptConfig(['nonce' => Vite::cspNonce()])
@livewireStyles(['nonce' => Vite::cspNonce()])
to the dashboard.blade.php file
I have inject_assets disabled and manually start Alpine / Livewire in my main application with app.js
import { Livewire, Alpine } from '../../vendor/livewire/livewire/dist/livewire.esm'
import carbon from './plugins/carbon'
import mapbox from './plugins/mapbox'
import toast from './plugins/toast'
import tooltip from './plugins/tooltip'
import.meta.glob([
'../images/**',
])
Alpine.plugin(carbon)
Alpine.plugin(mapbox)
Alpine.plugin(toast)
Alpine.plugin(tooltip)
Livewire.start()
from pulse.
What exceptions / console log errors are you getting?
from pulse.
What exceptions / console log errors are you getting?
No error log in console, If I test on Forge I don't see anything in the logs either.
![Screenshot 2023-12-01 at 9 05 36 PM](https://private-user-images.githubusercontent.com/32823553/287417044-0c311768-8782-4d05-b305-9b0275a2a766.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg1NTcyODMsIm5iZiI6MTcxODU1Njk4MywicGF0aCI6Ii8zMjgyMzU1My8yODc0MTcwNDQtMGMzMTE3NjgtODc4Mi00ZDA1LWIzMDUtOWIwMjc1YTJhNzY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE2VDE2NTYyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlkMmZiN2NiMjllZjZlNzE1MTkyZDI3NTc1ODViNmFkOGY3Y2RhZjg2ODVhZTc3MzJiMDMwZDJkYjIwZDg0ZTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._2cZrZS7faFTZyKIG7xKPvHfoldrT8pngh_4rP9fvt4)
from pulse.
i also received this error.
when using telescope package logs i got this error:
Call to undefined method Symfony\Component\HttpFoundation\BinaryFileResponse::header()
from pulse.
Interesting. What's your output on php artisan about
?
Is this a duplicate of #85?
from pulse.
i got it to work by disabling the CORS middleware.
from pulse.
Thank you for reporting this issue!
As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.
If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.
Thank you!
from pulse.
Interesting. What's your output on
php artisan about
?Is this a duplicate of #85?
This is what I get
php artisan about
Environment ..........................................................................................................
Application Name ........................................................................................... website
Laravel Version .............................................................................................. 10.34.2
PHP Version .................................................................................................... 8.3.0
Composer Version ............................................................................................... 2.5.5
Environment .................................................................................................... local
Debug Mode ....................................................................................................... OFF
URL .................................................................................................... websitename.com
Maintenance Mode ................................................................................................. OFF
Cache ................................................................................................................
Config .................................................................................................... NOT CACHED
Events .................................................................................................... NOT CACHED
Routes .................................................................................................... NOT CACHED
Views ......................................................................................................... CACHED
Drivers ..............................................................................................................
Broadcasting ..................................................................................................... log
Cache ........................................................................................................... file
Database ....................................................................................................... mysql
Logs .................................................................................... stack / single, daily, flare
Mail ............................................................................................................ smtp
Octane .................................................................................................... roadrunner
Queue ........................................................................................................... sync
Session ......................................................................................................... file
Livewire .............................................................................................................
Livewire ...................................................................................................... v3.2.2
from pulse.
@ysrdevs any chance you use Livewire in your project and have
inject_assets
disabled? Looks like Livewire isn't loaded at all (see #87 and #88).
This solves it.
Adding @livewireScripts just before the closing BODY tag fixes it. The issue is with livewire not injecting assets to the pulse dashboard. The file sits at vendor/laravel/pulse/resources/views/components/pulse.blade.php
from pulse.
Related Issues (20)
- Enhancement Request: Customizable Context Tags for Monitoring Entries. HOT 1
- Dashboard with empty screen HOT 2
- Pulse Scalability rocks! - extract Pulse data repository? HOT 1
- Change logo for the dark theme HOT 1
- Integrate Pulse into Nova? HOT 1
- TypeError in `Pulse::rememberUser()` (Logout Event) HOT 1
- 500 Server Error displaying HOT 1
- UI issue (supports-scrollbars:pr-3) HOT 1
- Unexpected Alpine.js Errors in Laravel Pulse Dashboard HOT 7
- Add supervisor configuration HOT 1
- Update the link in the About section HOT 2
- Please make Supervisor card HOT 1
- Laravel pulse returns 404 HOT 1
- Deadlocks on insert (in production) HOT 1
- Add table prefix on raw expressions when a table name is in the string HOT 1
- Rendering of very long slow SQL queries slows down the page HOT 2
- High Cpu Usage HOT 1
- Logical error with period/bucket calculations HOT 1
- Associate all data with originating server HOT 1
- Volt component in Volt route throws "htmlspecialchars(): Argument #1 ($string) must be of type string, stdClass given." in Slow Requests Card HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulse.