acron make:livewire command not defined

Trying to create a Livewire component in Radicle with acorn v5 and getting this error:

$ lando wp acorn make:livewire MyComponent

ERROR  Command “make:livewire” is not defined. Did you mean one of these?

⇂ make:block⇂ make:command⇂ make:component⇂ make:composer⇂ make:controller⇂ make:job⇂ make:middleware⇂ make:migration⇂ make:provider⇂ make:queue-batches-table⇂ make:queue-failed-table⇂ make:queue-table⇂ make:seeder

I am following using-livewire-with-wordpress guide.

I also tried creating the view and component files manually but the component is not rendered. Not sure if it’s because I missed something or because the acorn CLI command does other stuff.

Has anyone faced this issue?

That’s weird. It’s as if app.blade.php isn’t compiling. I can see `@livewireStyles` and `@livewireScripts` printed on the page and in the markup.

A quick update, the issue was on my side and probably related to my Lando setup. After starting over and using Lando’s composer, acorn livewire console command was working.

However, wp acorn make:livewire creates a single file under resource/views/components and it’s prefixed with :high_voltage:.

 INFO  Livewire component [resources/views/components/⚡post-list.blade.php] created successfully

Maybe the docs are updated, @Log1x ?

EDIT: Going through Livewire v4 docs, the thunder is expected as filename prefix. From Livewire Components

Why the ⚡ emoji?
You might be wondering about the lightning bolt in the filename. This small touch serves a practical purpose: it makes Livewire components instantly recognizable in your editor's file tree and search results.