Open ucelote-de-mar opened 2 years ago
Hi, Can you run these commands and see what happens ?
npm i node $HOME/.local/share/kservices5/edgescript/
node $HOME/.local/share/kservices5/edgescript/src/main.js
I have the same issue and running the first command just gives me these errors:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/nicojanzen/.local/share/kservices5/edgescript/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/nicojanzen/.local/share/kservices5/edgescript/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/nicojanzen/.npm/_logs/2022-09-29T07_08_18_996Z-debug-0.log
Can you wipe this directory $HOME/.local/share/kservices5/edgescript
and try again?
julio@julio:~/build/KWinEdgeCommands$ ./install.sh
Cloning into '/tmp/tmp.z6QCQIEm1L'...
remote: Enumerating objects: 110, done.
remote: Counting objects: 100% (110/110), done.
remote: Compressing objects: 100% (82/82), done.
remote: Total 110 (delta 46), reused 69 (delta 19), pack-reused 0
Receiving objects: 100% (110/110), 55.69 KiB | 306.00 KiB/s, done.
Resolving deltas: 100% (46/46), done.
x: 750 y: 500 w: 300 h: 1200
x: 750 y: 500 w: 300 h: 1200
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
added 181 packages, and audited 182 packages in 9s
39 packages are looking for funding
run `npm fund` for details
1 critical severity vulnerability
To address all issues, run:
npm audit fix
Run `npm audit` for details.
> generic-kwin-command@1.0.0 bundle
> npm install && npm run compile && npm run package
up to date, audited 182 packages in 2s
39 packages are looking for funding
run `npm fund` for details
1 critical severity vulnerability
To address all issues, run:
npm audit fix
Run `npm audit` for details.
> generic-kwin-command@1.0.0 compile
> scripts/compile.sh && browserify contents/code/source.js -o contents/code/main.js
> generic-kwin-command@1.0.0 package
> scripts/package.sh
/tmp/tmp.z6QCQIEm1L/kwinscript instalado com sucesso
npm notice
npm notice New minor version of npm available! 8.15.0 -> 8.19.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.19.2
npm notice Run npm install -g npm@8.19.2 to update!
npm notice
I'm trying to add this command: Name: Toggle Yakuake Command:
dbus-send --type=method_call --dest=org.kde.yakuake /yakuake/window org.kde.yakuake.toggleWindowState
I even tried sourcing a file but still.
I'm running Arch Linux up-to-date:
This is the output on the terminal: