Skip to content

[Bug]: Gtk-Message: 08:47:56.301: Failed to load module "appmenu-gtk-module" #121

@rezalaal

Description

@rezalaal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglinux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions