PHP Version Conflict on Fresh Install with Valet Isolate
sluxzer opened this issue · comments
Jetstream Version
4.3
Jetstream Stack
Inertia
Laravel Version
10.47
PHP Version
8.2
Database Driver & Version
No response
Description
So I'm using Valet (v 4.3) and Isolating this new project into PHP 8.2, while the global version is 8.1.
I did Fresh Install with Laravel 10 then straight install the Jetstream.
But I got an error when running the following:
valet php artisan jetstream:install inertia --ssr --dark
(still error without the options)
I tried to:
Steps To Reproduce
Prerequisite:
- Using Mac OS (since we use Valet)
- Install valet 4. x
- Set Global PHP to 8.1, and later PHP 8.2 to isolate the folder
Step to Reproduce:
- Create a new directory
- Link & Isolate this directory with PHP 8.2
valet link
valet isolate@8.2
- install Laravel 10
valet composer create-project --prefer-dist laravel/laravel my-laravel-app
- Install Jetstream
valet composer require laravel/jetstream
- Install Jetstream With Inertia
valet php artisan jetstream:install inertia --ssr --dark
I believe this problem is related to inertiajs/inertia-laravel tightenco/ziggy
but since this error happens during the Jetstream process, I should report it here. CMIW
Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:
However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.