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

tjmahaffey's avatar

Fresh Install, won't install Jetstream + Livewire

I'm following this Laracast. https://laracasts.com/series/build-a-web-shop-from-a-z/episodes/2

I've started everything fresh, but this command is failing:

php artisan jetstream:install livewire

... With this error:

file_get_contents(/Users/myusername/Desktop/code/ennis/.env): Failed to open stream: No such file or directory

Does anyone know what might be causing this? Each scaffolding install step has been fine until this one.

0 likes
2 replies
jlrdw's avatar

If just learning, maybe use that version. As there have been changes to laravel.

tjmahaffey's avatar

I figured it out! I had moved the whole installation from one directory to another, but forgot to show hidden files and include the .env file which is included in default installs.

I've now shown hidden files in the old folder and moved those to the new folder as well. Not it works as intended!

Thanks for your reply.

Please or to participate in this conversation.