Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM verison insufficient #6

Open
YuriMri opened this issue Sep 17, 2022 · 0 comments
Open

NPM verison insufficient #6

YuriMri opened this issue Sep 17, 2022 · 0 comments

Comments

@YuriMri
Copy link

YuriMri commented Sep 17, 2022

Hello,
I'm trying to run sh start-image.sh on raspberry pi 4b on 32 bit arch and I get:

mkdir: cannot create directory ‘datadir’: File exists
mkdir: cannot create directory ‘videos’: File exists
Building shinobi
Sending build context to Docker daemon  95.23kB
Step 1/19 : FROM node:8-alpine
 ---> 234a683a7ed5
Step 2/19 : LABEL Author="MiGoller, mrproper, pschmitt & moeiscool"
 ---> Using cache
 ---> 0e6018b6ff60
Step 3/19 : ENV [email protected]     ADMIN_PASSWORD=admin     CRON_KEY=fd6c7849-904d-47ea-922b-5143358ba0de     PLUGINKEY_MOTION=b7502fd9-506c-4dda-9b56-8e699a6bc41c     PLUGINKEY_OPENCV=f078bcfe-c39a-4eb5-bd52-9382ca828e8a     PLUGINKEY_OPENALPR=dbff574e-9d4a-44c1-b578-3dc0f1944a3c     MYSQL_USER=majesticflame     MYSQL_PASSWORD=password     MYSQL_HOST=localhost     MYSQL_DATABASE=ccio     MYSQL_ROOT_PASSWORD=blubsblawoot     MYSQL_ROOT_USER=root
 ---> Using cache
 ---> 1ea8c1407c18
Step 4/19 : RUN mkdir -p         /config         /opt/shinobi         /var/lib/mysql
 ---> Using cache
 ---> 0bd673abeb83
Step 5/19 : RUN apk update &&     apk add --no-cache         freetype-dev         ffmpeg         gnutls-dev         lame-dev         libass-dev         libogg-dev         libtheora-dev         libvorbis-dev         libvpx-dev         libwebp-dev         libssh2         opus-dev         rtmpdump-dev         x264-dev         x265-dev         yasm-dev &&     apk add --no-cache --virtual         .build-dependencies         build-base         bzip2         coreutils         gnutls         nasm         tar         x264
 ---> Using cache
 ---> ecf227ce4642
Step 6/19 : RUN apk update &&     apk add --no-cache         ffmpeg         git         make         mariadb         mariadb-client         openrc         pkgconfig         python         wget         tar         xz
 ---> Using cache
 ---> de52640dffc5
Step 7/19 : RUN sed -ie "s/^skip-networking/#skip-networking/" /etc/my.cnf.d/mariadb-server.cnf*
 ---> Using cache
 ---> 9fcd057f1066
Step 8/19 : WORKDIR /opt/shinobi
 ---> Using cache
 ---> 74c0f7f80448
Step 9/19 : RUN git clone https://gitlab.com/Shinobi-Systems/Shinobi.git /opt/shinobi &&     npm i npm@latest -g &&     npm install pm2 -g &&     npm install
 ---> Running in d02d1961798f
Cloning into '/opt/shinobi'...
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
/usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.13.0 || ^14.15.0 || >=16"} (current: {"node":"8.17.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]

+ [email protected]
added 73 packages from 21 contributors, removed 292 packages and updated 138 packages in 30.197s
ERROR: npm is known not to run on Node.js v8.17.0
You'll need to upgrade to a newer Node.js version in order to use this
version of npm. You can find the latest version at https://nodejs.org/
The command '/bin/sh -c git clone https://gitlab.com/Shinobi-Systems/Shinobi.git /opt/shinobi &&     npm i npm@latest -g &&     npm install pm2 -g &&     npm install' returned a non-zero code: 1
ERROR: Service 'shinobi' failed to build : Build failed

I tried to install latest npm on Pi but this seems like it's something incompatible with the image

I'm interested in shinobi in docker container but can you please point me where issue might be?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant