Open mohamedds-12 opened 1 month ago
Whats the Error it reports when you start the laravel.exe with CMD?
Whats the Error it reports when you start the laravel.exe with CMD?
(node:16500) UnhandledPromiseRejectionWarning: TypeError: Error processing argument at index 0, conversion failure from null
at Object.setAppUserModelId (C:\Users\Mohammed\AppData\Local\Programs\laravel\resources\app.asar\node_modules\@electron-toolkit\utils\dist\index.js:215:26)
at NativePHP.<anonymous> (C:\Users\Mohammed\AppData\Local\Programs\laravel\resources\app.asar\node_modules\@nativephp\electron-plugin\dist\index.js:108:33)
at Generator.next (<anonymous>)
at fulfilled (C:\Users\Mohammed\AppData\Local\Programs\laravel\resources\app.asar\node_modules\@nativephp\electron-plugin\dist\index.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
(Use `laravel --trace-warnings ...` to show where the warning was created)
(node:16500) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
What were you trying to do?
I tried to build the app using
php artisan native:build
What happened?
The build completed, but whenI run the app nothing happens, it stays in hte background, and for some how there is a lot of occurrences :![image](https://github.com/NativePHP/laravel/assets/92916932/a58bf1e7-c269-49f0-9d8b-da3874503ec9)
How to reproduce the bug
build the app and run it
Package Versions
nativephp/electron 0.6.3
PHP Version
8.1.10
Laravel Version
10.48.10
Node Version
20.1.0
Which operating systems have you seen this occur on?
Windows
OS version
10.0.19045 N/A Build 19045
Notes
No response