Error code

I used Ubuntu 22.04,When run [shinobi 5/8] RUN npm install && npm install pm2 -g:
show the error code: Maby "npm install && npm install pm2 -g" 'npm run' is not good.

root@feng:~# bash <(curl -s https://gitlab.com/Shinobi-Systems/Shinobi-Installer/raw/master/shinobi-docker.sh) Git is already installed. Version: git version 2.43.0 Creating and setting permissions for the MySQL data directory... Building the Docker image for Shinobi CCTV... Do you want to start the Shinobi SQL service? [Y/n] Default is 'Yes': yse Starting the Shinobi SQL service... WARN[0000] /home/ShinobiDocker/docker-compose-sql.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 1/1 Container shinobidocker-shinobi-sql-1 Started 0.2s Running the main Shinobi CCTV system... WARN[0000] /home/ShinobiDocker/docker-compose-main.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Building 656.8s (9/12) docker:default => [shinobi internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 624B 0.0s => [shinobi internal] load metadata for docker.io/library/node:20-bullseye-slim 2.4s => [shinobi internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [shinobi 1/8] FROM docker.io/library/node:20-bullseye-slim@sha256:c121fcd9656dde8ca373d1aa0b596f95af1764e0b7e6d4a212cbc 0.0s => [shinobi internal] load build context 0.0s => => transferring context: 35B 0.0s => CACHED [shinobi 2/8] RUN apt-get update && apt-get install -y build-essential curl git ffmpeg defau 0.0s => CACHED [shinobi 3/8] RUN git clone --branch dev https://gitlab.com/Shinobi-Systems/Shinobi.git /opt/shinobi 0.0s => CACHED [shinobi 4/8] WORKDIR /opt/shinobi 0.0s => ERROR [shinobi 5/8] RUN npm install && npm install pm2 -g 654.4s

[shinobi 5/8] RUN npm install && npm install pm2 -g:
524.0 npm warn deprecated discord.js@12.2.0: no longer supported
537.4 npm warn deprecated @discordjs/form-data@3.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
537.4 npm warn deprecated @discordjs/collection@0.1.6: no longer supported
654.3 npm error code ECONNRESET 654.3 npm error network aborted 654.3 npm error network This is a problem related to network connectivity. 654.3 npm error network In most cases you are behind a proxy or have bad network settings. 654.3 npm error network 654.3 npm error network If you are behind a proxy, please make sure that the 654.3 npm error network 'proxy' config is set properly. See: 'npm help config' 654.3 npm notice 654.3 npm notice New minor version of npm available! 10.8.2 -> 10.9.0 654.3 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.0 654.3 npm notice To update run: npm install -g npm@10.9.0 654.3 npm notice 654.3 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-10-10T07_10_04_753Z-debug-0.log


failed to solve: process "/bin/sh -c npm install && npm install pm2 -g" did not complete successfully: exit code: 1 Shinobi CCTV should now be accessible on port 8080.