-
-
Notifications
You must be signed in to change notification settings - Fork 267
Open
@millsoft
Description
Hi,
just wanted to try nodetube using docker (docker-compose.yml)
It fails to install nodejs because the package is not available:
$> docker-compose up -d
Building node
Sending build context to Docker daemon 17.56MB
Step 1/24 : FROM bougyman/voidlinux as void
---> de3203b3c713
Step 2/24 : RUN xbps-install -Syu git tar python nodejs-lts-11 base-devel
---> Running in 5e1c3ab29d39
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ...
x86_64-repodata: [1700KB 0%] 57MB/s ETA: 00m00s
x86_64-repodata: [1700KB 2%] 252KB/s ETA: 00m34s
x86_64-repodata: [1700KB 38%] 546KB/s ETA: 00m03s
x86_64-repodata: 1700KB [avg rate: 1414KB/s]
Package 'nodejs-lts-11' not found in repository pool.
The command '/bin/sh -c xbps-install -Syu git tar python nodejs-lts-11 base-devel' returned a non-zero code: 2
ERROR: Service 'node' failed to build : Build failed
I also tried to replace nodejs-lts-* with any newer version.
I replaced the nodejs-lts-10 with nodejs only, it installed the newest version (v16) and it seemed to work but the asset compilation generated many errors, probably newest npm / nodejs is no more compatible nodetube, many deprecated libraries):
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/app/node_modules/node-gyp/lib/build.js:262:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:394:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Linux 5.13.0-7614-generic
npm ERR! gyp ERR! command "/usr/bin/node" "/app/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd /app/node_modules/node-sass
npm ERR! gyp ERR! node -v v16.9.1
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1
Metadata
Metadata
Assignees
Labels
No labels