Create Electron Snap Package

Hello, I’m trying to make a snap of my electron app. However, when I run my app, console.log appear, but GUI is never displayed because app crashed with this error: GLib-GIO-CRITICAL **: 19:43:37.669: g_settings_schema_source_lookup: assertion 'source != NULL' failed

My snapcraft.yaml

name: tess
base: core20 # the base snap is the execution environment for this snap
version: '0.5.4'
summary: Single-line elevator pitch for your amazing snap
description: |
  This is my-snap's description. You have a paragraph or two to tell the
  most important story about your snap. Keep it under 100 words though,
  we live in tweetspace and your description wants to look good in the snap

grade: devel
confinement: devmode

    command: opt/tess/tess --no-sandbox

      source: ./tess
      plugin: npm
      npm-node-version: "16.13.2"
      override-build: |
        curl -fsSL | sudo bash -
        apt-get install -y nodejs
        npm config set unsafe-perm true
        npm i && npm run build
        mkdir -p $SNAPCRAFT_PART_INSTALL/opt/tess || true
        cp -ar dist/linux-unpacked/* $SNAPCRAFT_PART_INSTALL/opt/tess/
        - libnspr4
        - libnss3
        - libx11-dev
        - libatk1.0-0
        - libx11-xcb-dev
        - libatk-bridge2.0-0
        - libgdk-pixbuf2.0-0
        - libgtk-3-0
        - libdrm-dev
        - libgbm-dev
        - libasound2
        - libcanberra-gtk-module
        - libgtk-3-dev
        - gsettings-desktop-schemas
        - libcanberra-gtk3-0
        - libcanberra-gtk3-module

Have you any idea how to fix it, is my first snap package and I need help

use one of the gnome extensions … here is an electron snap where i do this: