-
-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
When running artisan native:serve
the application doesn't open. After reading the logs I got:
Error: Command failed: APP_DIR/vendor/nativephp/electron/resources/js/resources/php/php artisan native:config
at ChildProcess.exithandler (node:child_process:430:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5) {
code: 255,
killed: false,
signal: null,
cmd: 'APP_DIR/vendor/nativephp/electron/resources/js/resources/php/php artisan native:config',
stdout: '\n' +
'Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". You are running 8.1.17. in APP_DIR/vendor/composer/platform_check.php on line 24\n',
stderr: ''
}
APP_DIR is the path to my project which I removed for privacy. After downgrading to PHP 8.1, everything worked as expected
I couldnt find anything about PHP 8.2 support so if I missed something from the docs, im sorry
How to reproduce the bug
Complete new installation
Package Version
0.4.0
PHP Version
8.2.0
Laravel Version
10.39
Node Version
18.17
Which operating systems does with happen with?
macOS
Notes
Apple M1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working