micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.83k stars 464 forks source link

SyntaxError on Gnome 44.4 #2080

Closed vovchykbratyk closed 11 months ago

vovchykbratyk commented 11 months ago

After installing v 87 (built from source) on Gnome 44.4, Gnome Extensions reports incompatibility with the following trace:

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

Stack trace:
  _init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:23:33
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
  OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
  async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  start@resource:///org/gnome/gjs/modules/script/package.js:190:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
j-lakeman commented 11 months ago

Same for me in GNOME 44.3. Extension installed via apt in Debian Sid. Exact same stack trace.

slaee commented 11 months ago

Same here GNOME 44.3

vanvugt commented 11 months ago

As shown on the download site, GNOME 44 only supports dash-to-dock version 84 and earlier.

dash-to-dock versions 85 and later are exclusively for GNOME 45 and later. This was not our choice but due to a major API change introduced in GNOME 45.