You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The blur-me@nunchucks extension throws the following error when attempting to load its settings:
SyntaxError: import declarations may only appear at top level of a module @ resource:///org/gnome/Shell/Extensions/js/misc/extensionUtils.js:4:1
Stack trace:
@file:///home/gamertoky1188/.local/share/gnome-shell/extensions/blur-me@nunchucks/prefs.js:5:24
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:263:34
The error seems to be caused by the use of import statements not placed at the top level of the module, which is not supported in GNOME Shell's JavaScript environment.
The
blur-me@nunchucks
extension throws the following error when attempting to load its settings:The error seems to be caused by the use of
import
statements not placed at the top level of the module, which is not supported in GNOME Shell's JavaScript environment.System Information:
Steps to Reproduce:
blur-me@nunchucks
extension from GNOME Extensions.Expected Behavior:
The extension should load its settings without errors.
Actual Behavior:
The extension throws a
SyntaxError
due to improperly placedimport
statements.Suggested Fix:
import
declarations are placed at the top level of the file, outside of any functions or conditional blocks.import
withrequire
if needed for compatibility with GNOME Shell's JavaScript engine.Thank you for your work on this extension!

The text was updated successfully, but these errors were encountered: