jeffshee / gnome-ext-hanabi

Live Wallpaper for GNOME
GNU General Public License v3.0
723 stars 21 forks source link

SyntaxError: import declarations may only appear at top level of a module #97

Closed adrewkin closed 7 months ago

adrewkin commented 7 months ago

Distributor ID: Ubuntu Description: Ubuntu 23.10 Release: 23.10 Codename: mantic

GNOME Shell 45.1

Installation:[

The Meson build system Version: 1.2.1 Source dir: /home/rooster/gnome-ext-hanabi Build dir: /home/rooster/gnome-ext-hanabi/.build Build type: native build Project name: hanabi-extension Project version: 1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program npm found: YES (/usr/bin/npm) Configuring metadata.json using configuration Program msgfmt found: YES (/usr/bin/msgfmt) Program msginit found: YES (/usr/bin/msginit) Program msgmerge found: YES (/usr/bin/msgmerge) Program xgettext found: YES (/usr/bin/xgettext) Build targets in project: 10

]

SyntaxError: import declarations may only appear at top level of a module

Stack trace: @file:///home/rooster/.local/share/gnome-shell/extensions/hanabi-extension@jeffshee.github.io/prefs.js:23:24 _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34 Screenshot from 2023-11-30 12-31-02

jeffshee commented 7 months ago

Hi @adrewkin

You need to use gnome-45 branch at the moment. Please check this: https://github.com/jeffshee/gnome-ext-hanabi/issues/95#issuecomment-1826805217

Closed as duplicated (#95)

adrewkin commented 7 months ago

Thank you very much! The extension is awesome! Thank you very much for the amazing extension!