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

olddunk's avatar

Install Jetstream inertia in Laravel 8 failed

I followed the guidance to install Jetstream inertial in Laravel 8 and failed when I executed the command npm run dev It showed the following error: Module not found: Error: Can't resolve 'laravel-vite-plugin/inertia-helpers'

0 likes
4 replies
jlrdw's avatar

Could you try with laravel 9?

olddunk's avatar

Thank you for answering me, I just install PHP 7.4 in my computer, by some reason, I don't want to upgrade it, so I hope I can run Jetstream inertial in Laravel 8.

thinkverse's avatar

Laravel 8 supports PHP 7.4, and earlier versions of Laravel Jetstream 2 also support it. But I strongly recommend using at least PHP 8.0 since PHP 7.4 is no longer a supported version of PHP. Only PHP 8.1 and 8.2 currently have active support, PHP 8.0 still receives security updates.

olddunk's avatar

Thank you for your recommendation, I will try to use PHP 8 in the future.

Please or to participate in this conversation.