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

Error during setup: Not compatible with your version of node/npm: [email protected] #5

Open
djanknecht opened this issue Nov 28, 2021 · 0 comments

Comments

@djanknecht
Copy link

Hi, when trying to install, i get the error that the node version is not compatible. The host is running v10.24.0
What has to be changed in the dockerfile to have 12.13.0 installed?

Regards, Dirk

Output:

pi@dockerpi:~/ShinobiDocker $ sh start-image.sh mkdir: cannot create directory ‘datadir’: File exists
mkdir: cannot create directory ‘videos’: File exists
Building shinobi
Sending build context to Docker daemon 101.4kB

Step 1/19 : FROM node:8-alpine
---> 234a683a7ed5
Step 2/19 : LABEL Author="MiGoller, mrproper, pschmitt & moeiscool"
---> Using cache
---> 7205daf3882b
Step 3/19 : ENV ADMIN_USER=[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
---> 4b18772476b4
Step 4/19 : RUN mkdir -p /config /opt/shinobi /var/lib/mysql
---> Using cache
---> 11cb50b883c4
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
---> 47bacfa9bef8
Step 6/19 : RUN apk update && apk add --no-cache ffmpeg git make mariadb mariadb-client openrc pkgconfig python wget tar xz
---> Using cache
---> e2d5acf8eb6b
Step 7/19 : RUN sed -ie "s/^skip-networking/#skip-networking/" /etc/my.cnf.d/mariadb-server.cnf*
---> Using cache
---> 690c57bb0a69
Step 8/19 : WORKDIR /opt/shinobi
---> Using cache
---> 0b6373ef720e
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 c2b33cb7c18a
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 74 packages from 19 contributors, removed 282 packages and updated 148 packages in 22.241s
    npm WARN npm npm does not support Node.js v8.17.0
    npm WARN npm You should probably upgrade to a newer version of node as we
    npm WARN npm can't make any promises that npm will work with this version.
    npm WARN npm You can find the latest version at https://nodejs.org/
    npm ERR! Unexpected token =

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-11-28T12_29_02_415Z-debug.log
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

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