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

Setup error #219

Open
Nagarajukasarla opened this issue Dec 8, 2024 · 0 comments
Open

Setup error #219

Nagarajukasarla opened this issue Dec 8, 2024 · 0 comments

Comments

@Nagarajukasarla
Copy link

Nagarajukasarla commented Dec 8, 2024

I recently shifted from windows to Linux. In search of touch pad gestures I came across to this repository and decided to install.

OS Details:


PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
VERSION_ID="2024.4"
VERSION="2024.4"
VERSION_CODENAME=kali-rolling
ID=kali
ID_LIKE=debian
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
ANSI_COLOR="1;31"

What I did :
First, I have tired to install it directly from gnome extension using browser extension.

Error:
The settings of extension gestureImprovements@gestures 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:1

Stack trace:
  @file:///home/nag/.local/share/gnome-shell/extensions/gestureImprovements@gestures/prefs.js:3:12
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:263:34
  

Due to above error I have uninstalled it from extensions and followed steps from README.md

git clone https://github.com/harshadgavali/gnome-gesture-improvements.git/
cd gnome-gesture-improvements
npm install
npm run update

Detailed output with error:

> [email protected] update
> npm run pack && make update


> [email protected] pack
> npm run build && make pack


> [email protected] build
> npm run clean && npm run transpile && node --unhandled-rejections=strict build/scripts/transpile.js && npm run lint:package


> [email protected] clean
> rm -rf build && mkdir build


> [email protected] transpile
> npm run lint:extension && tsc


> [email protected] lint:extension
> eslint extension scripts tests

Error: ESLint configuration in .eslintrc.json is invalid:
	- Unexpected top-level property "$schema".

    at validateConfigSchema (/usr/share/nodejs/eslint/lib/shared/config-validator.js:286:15)
    at ConfigArrayFactory._normalizeConfigData (/usr/share/nodejs/eslint/lib/cli-engine/config-array-factory.js:469:9)
    at ConfigArrayFactory._loadConfigDataInDirectory (/usr/share/nodejs/eslint/lib/cli-engine/config-array-factory.js:445:33)
    at ConfigArrayFactory.loadInDirectory (/usr/share/nodejs/eslint/lib/cli-engine/config-array-factory.js:401:18)
    at CascadingConfigArrayFactory._loadConfigInAncestors (/usr/share/nodejs/eslint/lib/cli-engine/cascading-config-array-factory.js:304:46)
    at CascadingConfigArrayFactory._loadConfigInAncestors (/usr/share/nodejs/eslint/lib/cli-engine/cascading-config-array-factory.js:323:20)
    at CascadingConfigArrayFactory._loadConfigInAncestors (/usr/share/nodejs/eslint/lib/cli-engine/cascading-config-array-factory.js:323:20)
    at CascadingConfigArrayFactory.getConfigArrayForFile (/usr/share/nodejs/eslint/lib/cli-engine/cascading-config-array-factory.js:249:18)
    at FileEnumerator._iterateFilesRecursive (/usr/share/nodejs/eslint/lib/cli-engine/file-enumerator.js:399:49)
    at _iterateFilesRecursive.next (<anonymous>)

Please let me know if I have missed something.

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

1 participant