zagortenay333 / cronomix

All-in-one timer, stopwatch, pomodoro, alarm, todo and time tracker gnome-shell extension
MIT License
570 stars 74 forks source link

SyntaxError: import declarations may only appear at top level of a modul #268

Closed iconoclasthero closed 2 months ago

iconoclasthero commented 2 months ago

The settings of extension timepp@zagortenay333 had an error:

SyntaxError: import declarations may only appear at top level of a module @ resource:///org/gnome/Shell/Extensions/js/misc/extensionUtils.js:4:0

Stack trace:
  @file:///home/$USER/.local/share/gnome-shell/extensions/timepp@zagortenay333/prefs.js:4:24
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
iconoclasthero commented 2 months ago

I uninstalled it and reinstalled it after I saw it was renamed in extension manager (the above was from extensions).

in case it's useful:

OS: Rhino Linux 2024.1 (server) x86_64 
Kernel: Linux 6.9.1-060901-generic 
DE: GNOME 46.2 (Wayland) 
WM: Mutter