hagopj13 / hagopj13/node-express-boilerplate

Error during run with Docker

Open
#166 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.7k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

When I run on my Mac M1: `yarn docker:dev` during `node-app Pulling` the installation show `node-app Error`.

> yarn run v1.22.17
$ docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
[+] Running 0/1
⠿ **node-app Error** 2.0s
[+] Building 23.3s (9/10)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> [internal] load metadata for docker.io/library/node:alpine 0.6s
=> [internal] load build context 0.0s
=> => transferring context: 4.55kB 0.0s
=> [1/6] FROM docker.io/library/node:alpine@sha256:993bdfb0da7ae8fa4dad7282f797e3e26e88f810d410e0b0409d132d1fb17af3 0.0s
=> CACHED [2/6] RUN mkdir -p /usr/src/node-app && chown -R node:node /usr/src/node-app 0.0s
=> CACHED [3/6] WORKDIR /usr/src/node-app 0.0s
=> CACHED [4/6] COPY package.json yarn.lock ./ 0.0s
=> ERROR [5/6] RUN yarn install --pure-lockfile 22.6s
------
> [5/6] RUN yarn install --pure-lockfile:
#9 0.320 yarn install v1.22.15
#9 0.388 [1/5] Validating package.json...
#9 0.391 [2/5] Resolving packages...
#9 0.604 [3/5] Fetching packages...
#9 18.61 info fsevents@2.3.2: The platform "linux" is incompatible with this module.
#9 18.61 info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
#9 18.62 [4/5] Linking dependencies...
#9 18.62 warning "swagger-jsdoc > swagger-parser > @apidevtools/swagger-parser@10.0.2" has unmet peer dependency "openapi-types@>=7".
#9 18.62 warning "eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > tsutils@3.21.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
#9 22.04 [5/5] Building fresh packages...
#9 22.24 $ husky install
#9 22.28 .git can't be found (see https://git.io/Jc3F9)
#9 22.29 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
#9 22.29 error Command failed with exit code 1.
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c yarn install --pure-lockfile]: exit code: 1
error Command failed with exit code 17.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.