GithubHelp home page GithubHelp logo

pm-docker's People

Contributors

mmjee avatar

Watchers

 avatar  avatar

pm-docker's Issues

Yarn Install Failure During Container Build

Description:
During the Docker build process, an unexpected error occurs while executing yarn install. The error message indicates a failure to fetch a package from a specific URL (https://cf-ipfs.com/ipfs/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX?filename=noto-sans-cjk-webfont.tgz). The error status code is "524 undefined".

Steps to Reproduce:

  1. Clone the repository containing the Dockerfile.
  2. Run the Docker build command (podman build -t <image_name> .).
  3. Observe the error during the execution of yarn install in the Docker build process.

Expected Behavior:
The yarn install command should successfully fetch and install the required packages without encountering any errors, allowing the Docker build process to complete successfully.

Actual Behavior:
The yarn install command fails to fetch a package from the specified URL (https://cf-ipfs.com/ipfs/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX?filename=noto-sans-cjk-webfont.tgz), resulting in a build failure with a "Request failed" error and a status code of "524 undefined".

Error with Dockerfile

[+] Building 17.9s (11/14)                                  docker:default
 => [internal] load .dockerignore                                     0.0s
 => => transferring context: 2B                                       0.0s
 => [internal] load build definition from Dockerfile                  0.0s
 => => transferring dockerfile: 713B                                  0.0s
 => [internal] load metadata for docker.io/library/nginx:alpine       0.2s
 => [internal] load metadata for docker.io/library/node:lts-alpine    0.2s
 => [internal] load build context                                     0.0s
 => => transferring context: 32B                                      0.0s
 => [build 1/6] FROM docker.io/library/node:lts-alpine@sha256:cb2301  0.0s
 => => resolve docker.io/library/node:lts-alpine@sha256:cb2301e2c5fe  0.0s
 => CACHED [stage-1 1/3] FROM docker.io/library/nginx:alpine@sha256:  0.0s
 => CACHED [build 2/6] WORKDIR /app/                                  0.0s
 => CACHED [build 3/6] RUN --mount=type=cache,target=/var/cache/apk   0.0s
 => CACHED [build 4/6] RUN git clone --depth 1 --branch master https  0.0s
 => ERROR [build 5/6] RUN yarn add @achrinza/[email protected]          17.6s
------                                                                     
 > [build 5/6] RUN yarn add @achrinza/[email protected]:                      
0.486 yarn add v1.22.19                                                    
0.587 [1/4] Resolving packages...                                          
1.642 [2/4] Fetching packages...                                           
17.26 error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18". Got "20.9.0"
17.27 error Found incompatible module.
17.27 info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
------
Dockerfile:16
--------------------
  14 |     ENV VUE_APP_EDS_URL=${EDS_URL}
  15 |     
  16 | >>> RUN yarn add @achrinza/[email protected]
  17 |     RUN --mount=type=cache,target=/root/.cache/yarn \
  18 |         --mount=type=cache,target=/app/node_modules \
--------------------
ERROR: failed to solve: process "/bin/sh -c yarn add @achrinza/[email protected]" did not complete successfully: exit code: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.