-
-
Notifications
You must be signed in to change notification settings - Fork 205
Description
What happened?
appDir=/media/disk2/Projects/nativePHP/firstNative/vendor/nativephp/electron/resources/js
(node:27659) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'setIcon')
at NativePHP. (/media/disk2/Projects/nativePHP/firstNative/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:81:26)
at Generator.next ()
at /media/disk2/Projects/nativePHP/firstNative/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:8:71
at new Promise ()
at __awaiter (/media/disk2/Projects/nativePHP/firstNative/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:4:12)
at /media/disk2/Projects/nativePHP/firstNative/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:78:36
(Use electron --trace-warnings ...
to show where the warning was created)
(node:27659) 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: 2)
How to reproduce the bug
when running : php artisan native:serve in Arch linux i3
• executing @electron/rebuild arch=x64 platform=linux version=25.2.0
Package Version
0.1.0
PHP Version
8.2.8
Laravel Version
10.15.0
Which operating systems does with happen with?
Linux
Notes
No response