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

Webpack-dev-server issue #48

Open
solo-daemon opened this issue Feb 12, 2024 · 0 comments · May be fixed by #47
Open

Webpack-dev-server issue #48

solo-daemon opened this issue Feb 12, 2024 · 0 comments · May be fixed by #47

Comments

@solo-daemon
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Operating System:

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Want to take up?
Are you interested in and capable of tackling this issue? [yes|no]

The following issue arises on building react image for omnniport

Add npm dependencies for developer tools? (y/N): y
[+] Building 16.0s (10/13)                                                                                                                                            docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                                                                                                  0.0s
 => => transferring dockerfile: 889B                                                                                                                                                  0.0s
 => [internal] load .dockerignore                                                                                                                                                     0.0s
 => => transferring context: 2B                                                                                                                                                       0.0s
 => [internal] load metadata for docker.io/library/node:lts-stretch-slim                                                                                                              3.5s
 => [auth] library/node:pull token for registry-1.docker.io                                                                                                                           0.0s
 => [1/9] FROM docker.io/library/node:lts-stretch-slim@sha256:afef4a8000f747fdb0b22479fb4c7a2a19cd6f05b0e08c9f67e430853152c7fc                                                        0.0s
 => [internal] load build context                                                                                                                                                     0.0s
 => => transferring context: 355.69kB                                                                                                                                                 0.0s
 => CACHED [2/9] RUN groupadd --system react && useradd --system --gid react react                                                                                                    0.0s
 => CACHED [3/9] COPY ./package.json ./package.json                                                                                                                                   0.0s
 => CACHED [4/9] COPY ./yarn.lock ./yarn.lock                                                                                                                                         0.0s
 => ERROR [5/9] RUN yarn global add webpack-dev-server                                                                                                                               12.5s
------
 > [5/9] RUN yarn global add webpack-dev-server:
0.236 yarn global v1.22.19
0.260 [1/4] Resolving packages...
7.360 [2/4] Fetching packages...
12.44 error [email protected]: The engine "node" is incompatible with this module. Expected version ">=16.17". Got "16.15.1"
12.45 error Found incompatible module.
12.45 info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
------
Dockerfile:22
--------------------
  20 |
  21 |     # Add webpack dependency
  22 | >>> RUN yarn global add webpack-dev-server
  23 |
  24 |     # Install dependenices from the file yarn.lock
--------------------
ERROR: failed to solve: process "/bin/sh -c yarn global add webpack-dev-server" did not complete successfully: exit code: 1
@solo-daemon solo-daemon linked a pull request Feb 12, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant