Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Neeraj1005's avatar

create:893 Livewire: The published Livewire assets are out of date See: https://laravel-livewire.com/docs/installation/

I don't know why a few days ago my project with livewire was working good...But now today suddenly it won't work. It return some error in console.

create:893 Livewire: The published Livewire assets are out of date
 See: https://laravel-livewire.com/docs/installation/

Uncaught TypeError: window.livewire.devTools is not a function
    at create:902

can anyone tells me what was the exact problem

0 likes
2 replies
chaudigv's avatar

Just for reference, livewire docs have specifically mentioned this. https://laravel-livewire.com/docs/2.x/installation

To keep the assets up-to-date and avoid issues in future updates, we highly recommend adding the command to the post-autoload-dump scripts in your composer.json file:

{
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\Foundation\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi",
            "@php artisan vendor:publish --force --tag=livewire:assets --ansi"
        ]
    }
}
2 likes

Please or to participate in this conversation.