Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Fedora 39 automatic upgrade #73

Open
Nefistor opened this issue Mar 25, 2024 · 1 comment
Open

Error in Fedora 39 automatic upgrade #73

Nefistor opened this issue Mar 25, 2024 · 1 comment

Comments

@Nefistor
Copy link

The settings of extension gamemode@christian.kellner.me 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:///usr/share/gnome-shell/extensions/gamemode@christian.kellner.me/prefs.js:1:24
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  
@Nefistor Nefistor changed the title Error in upgrade session :( Error in Fedora 39 automatic upgrade Mar 25, 2024
@fjsevilla-dev
Copy link
Collaborator

fjsevilla-dev commented Mar 26, 2024

@Nefistor this error is due to the changes implemented in Gnome 45 (ECMAScript Modules adoption). The extension is not compatible for Fedora 39 onwards because of this. More details in #70.

It seems that Gicmo has not been interacting with GitHub for some time, if you want, you can try to manually install my Gnome >= 45 port of the extension in the meantime. Should work without problems in Fedora 39 and Fedora 40 (Gnome 45 - 46).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants