Skip to content

Creating the Docker image gives an error with the current script #17

@talewisx

Description

@talewisx

This pops up this error:

Error: The package redux@4.2.1 does not satisfy its siblings' peerDependencies requirements!

I'm building with Ubuntu 20.04

Here's the dump of the install process:

root@TimLewisLaptop:/mnt/c/Temp# docker build -t buildbook .
[+] Building 41.3s (5/5) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.8s
=> => transferring dockerfile: 779B 0.8s
=> [internal] load metadata for docker.io/library/node:13.10-slim 1.1s
=> [internal] load .dockerignore 0.7s
=> => transferring context: 2B 0.7s
=> CACHED [1/2] FROM docker.io/library/node:13.10-slim@sha256:0537d67773c1fcca4c45d04d8f80b53d253242ff16bace8e5c 0.0s
=> ERROR [2/2] RUN npm install --global gitbook-cli && gitbook fetch 4.0.0-alpha.6 && gitbook fetch 3.2.3 38.6s

[2/2] RUN npm install --global gitbook-cli && gitbook fetch 4.0.0-alpha.6 && gitbook fetch 3.2.3 && npm install --global markdownlint-cli && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y sudo git vim calibre fonts-roboto bzip2 ghostscript jpegoptim optipng ca-certificates && npm install svgexport -g --unsafe-perm && npm cache clear --force && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*:
1.426 npm WARN deprecated q@1.5.0: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
1.426 npm WARN deprecated
1.426 npm WARN deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
7.774 /usr/local/bin/gitbook -> /usr/local/lib/node_modules/gitbook-cli/bin/gitbook.js
7.855 + gitbook-cli@2.3.2
7.855 added 578 packages from 672 contributors in 7.058s
8.389 Installing GitBook 4.0.0-alpha.6
38.27
38.27 Error: The package redux@4.2.1 does not satisfy its siblings' peerDependencies requirements!


Dockerfile:10

9 | # Install gitbook
10 | >>> RUN npm install --global gitbook-cli
11 | >>> && gitbook fetch ${GITBOOK_VERSION4_LATEST}
12 | >>> && gitbook fetch ${GITBOOK_VERSION3_LATEST}
13 | >>> && npm install --global markdownlint-cli
14 | >>> && apt-get update
15 | >>> && apt-get install --no-install-recommends --no-install-suggests -y
16 | >>> sudo
17 | >>> git
18 | >>> vim
19 | >>> calibre
20 | >>> fonts-roboto
21 | >>> bzip2
22 | >>> ghostscript
23 | >>> jpegoptim
24 | >>> optipng
25 | >>> ca-certificates
26 | >>> && npm install svgexport -g --unsafe-perm
27 | >>> && npm cache clear --force
28 | >>> && rm -rf /var/lib/apt/lists/*
29 | >>> && rm -rf /tmp/*
30 |

ERROR: failed to solve: process "/bin/sh -c npm install --global gitbook-cli && gitbook fetch ${GITBOOK_VERSION4_LATEST} && gitbook fetch ${GITBOOK_VERSION3_LATEST} && npm install --global markdownlint-cli && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y sudo git vim calibre fonts-roboto bzip2 ghostscript jpegoptim optipng ca-certificates && npm install svgexport -g --unsafe-perm && npm cache clear --force && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*" did not complete successfully: exit code: 1
root@TimLewisLaptop:/mnt/c/Temp#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions