Closed olielvewen closed 3 years ago
It seems like you dont have the permission to access "/root/..." as current user.
You can check this article about solving EACCES error: https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
Also, this package was never intented to work on Linux systems at first. I just created headless version of this package, so in theory, you can run it on linux systems now.
You can change branch to headless and try to install after resolving your EACCES problem.
Thank you.
@atagulalan
Thanks a lot. I'll take a look deeper soon and I'll give you some feedback.
@atagulalan
After several cheese, I've been able to install the headless branch with success.
Now, I must just learn how to use arctis-battery.
[olivier@luthien ~]$ node -v
v12.13.0
[olivier@luthien ~]$ npm -v
6.12.0
[olivier@luthien ~]$ nvm ls
bash: nvm : commande introuvable
[olivier@luthien ~]$
[olivier@luthien ~]$ mkdir ~/.npm-global
[olivier@luthien ~]$ npm config set prefix '~/.npm-global'
[olivier@luthien ~]$ source ~/.profile
[olivier@luthien ~]$ npm install -g jshint
/home/olivier/.npm-global/bin/jshint -> /home/olivier/.npm-global/lib/node_modules/jshint/bin/jshint
+ jshint@2.10.2
added 31 packages from 15 contributors in 6.379s
╭────────────────────────────────────────────────────────────────╮
│ │
│ New patch version of npm available! 6.12.0 → 6.12.1 │
│ Changelog: https://github.com/npm/cli/releases/tag/v6.12.1 │
│ Run npm install -g npm to update! │
│ │
╰────────────────────────────────────────────────────────────────╯
[olivier@luthien ~]$ npm i -g git://github.com/atagulalan/arctis-battery-percentage.git#headless
/home/olivier/.npm-global/bin/arctis-battery -> /home/olivier/.npm-global/lib/node_modules/arctis-battery-percentage/percentage.js
> node-hid@0.7.9 install /home/olivier/.npm-global/lib/node_modules/arctis-battery-percentage/node_modules/node-hid
> prebuild-install || node-gyp rebuild
+ arctis-battery-percentage@1.0.4
added 62 packages from 44 contributors in 16.848s
[olivier@luthien ~]$ arctis-battery
Hi,
I would like to install your software on my Linux Manjaro distribution.
However, I run into an issue when I have tried to install it. Look my terminal output.
I don't think that your sofware is only for Windows but for Linux too.
Could you help me for resolving this issue. You should make a PKBUILD and done an ask for getting it in AUR Package.
BTW. I have a Steelseries Artic Silver 7 Edition 2019. By advance, thanks a lot.