Description
What happened?
Error: Command failed: /home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php artisan native:config
/home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php: 1: Syntax error: "(" unexpected
at ChildProcess.exithandler (node:child_process:430:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:322:12) {
code: 2,
killed: false,
signal: null,
cmd: '/home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php artisan native:config',
stdout: '',
stderr: '/home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php: 1: Syntax error: "(" unexpected\n'
}
API server started on port 4000
Starting PHP server... /home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php artisan serve /home/sayed/Desktop/DesktopApps/ray
Making sure app folders are available
Migrating database...
/home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php: 1: Syntax error: "(" unexpected
How to reproduce the bug
php artisan native:serve
Package Version
0.10
PHP Version
8.1
Laravel Version
10
Which operating systems does with happen with?
Linux
Notes
No response