Comments (7)
I had the same error and I have found the following fix:
- you need to install livewire via composer (composer require livewire/livewire)
- if you are using nginx as a webserver add the following lines to your config
location = /livewire/livewire.js {
expires off;
try_files $uri $uri/ /index.php?$query_string;
}
source: https://benjamincrozat.com/livewire-js-404-not-found
from pulse.
Hitting this issue as well.
It would seem that the js code loading part @livewireScripts
returns a path from the root of the domain instead of taking into account the env's APP_URL
... maybe?
In my case, the whole laravel part of the website is served under a subdirectory, so if I manually add this part, the .js gets found as expected.
from pulse.
Alright, this is mentioned in the docs: https://livewire.laravel.com/docs/installation#customizing-the-asset-url
That said, the default behaviour, once you composer require
it, may lead people to think it's broken, which is unfortunate.
from pulse.
Pulse Version
v1.0.0-beta2
Laravel Version
10.34.2
PHP Version
8.2.10
In my case http://localhost:8000/pulse return 404
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.
Seems this isn't an issue with Pulse specifically, but a configuration issue of the consuming application.
Will close this and would welcome suggestions if there are improvements we can make here.
from pulse.
Opened a PR to address this moving forward: #266
from pulse.
Related Issues (20)
- Can pulse_entries table provide an aggregated count column instead of duplicate rows Cache HOT 2
- Add time period when cleaning data HOT 3
- Support for autoscaled services HOT 2
- 500 Errors due to PHP memory limit HOT 7
- Trying to access array offset on value of type null HOT 3
- Application Usage card throws 500 HOT 6
- Undefined array key "groups" + others on fresh pulse install on existing project HOT 15
- Laravel Pulse unauthorized action when using Octane. HOT 4
- Feature request: allow overriding auth like Telescope HOT 2
- Queued listener on secondary queue is also being displayed on the default queue graph under 'Queues' card HOT 4
- Feature request: Ignore slow jobs for a specific queue HOT 3
- Feature request: Schedule options for Pulse sample rate HOT 3
- Queues not showing in deployed application HOT 2
- Getting Syntax error exception HOT 2
- Uncaught SyntaxError: Unexpected token '<' (at pulse:20:13) HOT 5
- Laravel pulse does not work with specific guard different than the default guard HOT 4
- Feature Request: Configurable Column Name Support in User Model HOT 2
- Option to ignore offline servers HOT 2
- Records auto-cleaner HOT 8
- [Feature Request] Remote Server Recorder HOT 4
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.