-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
following from this issue #678
I set:
"build": {
"asar": true,
"asarUnpack": ["**/node_modules/sharp/**/*"]
}
in my package.json. I packaged the app with yarn dist
. This seems to solve something but now my App is randomly crashing (white screen) and I get this error:
(sharp:24414): GLib-GObject-WARNING **: cannot register existing type 'GsfOutfile'
(sharp:24414): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed
(sharp:24414): GLib-GObject-WARNING **: cannot register existing type 'GsfOutfile'
(sharp:24414): GLib-GObject-CRITICAL **: g_object_new_valist: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(sharp:24414): GLib-GObject-WARNING **: cannot register existing type 'GsfOutfile'
(sharp:24414): GLib-GObject-WARNING **: invalid cast from 'GsfOutfileStdio' to '<invalid>'
my set up is:
$ yarn --version
1.5.1
"sharp": "0.19.1"
"electron": "1.8.3",
"electron-builder": "20.3.1",
Final note: this does not happen in dev mode