Bash: npm: command not found need help fast

I’ trying to install MineOs on my old computer and when i get to this command: npm install --unsafe-perm
i get this problem: Bash: npm: command not found
Any solution please? I follow this list of commands: https://minecraft.codeemo.com/mineoswiki/index.php?title=MineOS-node_(apt-get)
and i watch this video for tutorial:
https://youtu.be/ejRdD8u-4CY

I replaced the dots (.) from the links because i can’t post more than 5 links.

Blockquote
root@mine-srw:/usr/games/minecraft# ln -s /usr/games/minecraft/mineos_console.js /usr/local/bin/mineos
root@mine-srw:/usr/games/minecraft# cp mineos.conf /etc/mineos.conf
root@mine-srw:/usr/games/minecraft# apt-get update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 https: //deb nodesource com/node_10.x buster InRelease
Reading package lists… Done
root@mine-srw:/usr/games/minecraft# apt-get install -y git supervisor rdiff-backup screen build-essential rsync
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version (12.6).
git is already the newest version (1:2.20.1-2+deb10u3).
rdiff-backup is already the newest version (1.2.8-7).
rsync is already the newest version (3.1.3-6).
screen is already the newest version (4.6.2-3).
supervisor is already the newest version (3.3.5-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@mine-srw:/usr/games/minecraft# echo “deb http: //http debian net/debian jessie-backports main” >> /etc/apt/sources.list
root@mine-srw:/usr/games/minecraft# apt-get update
Hit:1 http:// security debian org/debian-security buster/updates InRelease
Hit:2 http:// deb debian org/debian buster InRelease
Hit:3 http:// deb.debian org/debian buster-updates InRelease
Hit:4 https: //deb nodesource com/node_10.x buster InRelease
Ign:5 http: //cdn-fastly deb debian org/debian jessie-backports InRelease
Err:6 http: //cdn-fastly deb debian org/debian jessie-backports Release
404 Not Found [IP: 199.232.138.132 80]
Reading package lists… Done
E: The repository ‘http: //http debian net/debian jessie-backports Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@mine-srw:/usr/games/minecraft# apt-secure 8
bash: apt-secure: command not found
root@mine-srw:/usr/games/minecraft# apt-secure (8)
bash: syntax error near unexpected token `8’
root@mine-srw:/usr/games/minecraft#

What ‘nix are you using? Do you have nmp installed?

I really have no idea. i just follow that video tutorial, but when i came to put these commands to Installing Dependencies:

Blockquote
echo “deb http://http.debian.net/debian jessie-backports main” >> /etc/apt/sources.list
apt-get update
apt-get install -y -t jessie-backports openjdk-8-jre-headless ca-certificates-java

What distro did you install?

Ign:5 http: //cdn-fastly deb debian org/debian jessie-backports InRelease
Err:6 http: //cdn-fastly deb debian org/debian jessie-backports Release
404 Not Found [IP: 199.232.138.132 80]

This error here probably relates to a package unsuccessfully installed.

Are you using Debian 10? If so, from the wiki page that you used:

More modern versions of Debian (10/Buster) use different installation instructions. These instructions will install the most recent web-ui written in Node.js.

Im using Debian 10.7.0 i386-netinst.
i will try that instalation instruction. Thanks.

Edit: i tried the installation instruction that you gave me and its giving me again errors.

when i paste this command: npm install --unsafe-perm i get the bash: npm: command not found
i don’t understand it, im trying to learn more.

Well i fixed. it just needed to use this command: apt-get install npm

Not sure why that wasn’t installed initially. I created a VM build with the same distro, and only unstated the system and web packages. The documented steps worked fine.

But glad you got it working.

Thank you. after all i did. now i cant access the mineos panel, when i go to https://102.168.0.100:8443 it does not open the panel. any reason why?

https://102.168.0.100:8443

My initial reaction is that you put in the wrong IP address, 192.

But beyond that, it is otherwise uncertain that you have completed the npm installation steps successfully (and without error) since installing npm with the Debian 10 instructions.

Here’s a link to check if the webui is running: Megathread for MineOS webui issues

I’d second that
If you are accessing it externally, then you’ll need to allow that port and any world server ports through the firewall. And you should be using the public IP address assigned by your provider.