ibz / lightning-shell

The shell for your personal server
https://lightningshell.app
MIT License
24 stars 13 forks source link

Problems when updating BOS #20

Open maxmerlin78 opened 2 years ago

maxmerlin78 commented 2 years ago

image

╭──────────────────────────────────────────────╮ │ │ │ Update available 11.55.0 → 12.16.3 │ │ Run npm i -g balanceofsatoshis to update │ │ │ ╰──────────────────────────────────────────────╯

lnshell@7f3d9786b3f4:~$ ^C lnshell@7f3d9786b3f4:~$ npm i -g balanceofsatoshis npm notice npm notice New minor version of npm available! 8.3.1 -> 8.16.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.16.0 npm notice Run npm install -g npm@8.16.0 to update! npm notice npm ERR! code EACCES npm ERR! syscall rename npm ERR! path /usr/local/lib/node_modules/balanceofsatoshis npm ERR! dest /usr/local/lib/node_modules/.balanceofsatoshis-uIQwb65r npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/balanceofsatoshis' -> '/usr/local/lib/node_modules/.balanceofsatoshis-uIQwb65r' npm ERR! [Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/balanceofsatoshis' -> '/usr/local/lib/node_modules/.balanceofsatoshis-uIQwb65r'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'rename', npm ERR! path: '/usr/local/lib/node_modules/balanceofsatoshis', npm ERR! dest: '/usr/local/lib/node_modules/.balanceofsatoshis-uIQwb65r' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: npm ERR! /home/lnshell/.npm/_logs/2022-08-10T06_23_38_297Z-debug-0.log lnshell@7f3d9786b3f4:~$ npm install -g npm@8.16.0 npm ERR! code EACCES npm ERR! syscall rename npm ERR! path /usr/local/lib/node_modules/npm npm ERR! dest /usr/local/lib/node_modules/.npm-i9nnxROI npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/npm' -> '/usr/local/lib/node_modules/.npm-i9nnxROI' npm ERR! [Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/npm' -> '/usr/local/lib/node_modules/.npm-i9nnxROI'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'rename', npm ERR! path: '/usr/local/lib/node_modules/npm', npm ERR! dest: '/usr/local/lib/node_modules/.npm-i9nnxROI' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: npm ERR! /home/lnshell/.npm/_logs/2022-08-10T06_24_32_615Z-debug-0.log lnshell@7f3d9786b3f4:~$

Bostie commented 1 year ago
Scherm­afbeelding 2023-03-03 om 16 45 05

So need to updat BOS with this command?

npm install -g npm@8.16.0

I get this when i type npm i -g balanceofsatoshis to upgrade!

can someone help?