Skip to content

Commit

Permalink
Motivation:
Browse files Browse the repository at this point in the history
```
docker-compose -f docker-compose.full.yml build
...
28.43 warning eslint > file-entry-cache > flat-cache > [email protected]: Rimraf versions prior to v4 are no longer supported
28.48 warning eslint > file-entry-cache > flat-cache > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
28.53 warning eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
29.69 warning prop-types > fbjs > [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
29.98 warning replace > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
30.02 warning replace > [email protected]: Package no longer supported. Contact [email protected] for more info.
30.08 warning [email protected]: Rimraf versions prior to v4 are no longer supported
30.08 warning rimraf > [email protected]: Glob versions prior to v9 are no longer supported
31.32 [3/5] Fetching packages...
123.7 error [email protected]: The engine "node" is incompatible with this module. Expected version ">=16". Got "14.21.3"
123.7 error Found incompatible module.
123.7 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
failed to solve: process "/bin/sh -c yarn install" did not complete successfully: exit code: 1
```

Modification:

An upgrade to nodejs >=16 fixes this issue.
  • Loading branch information
vingar committed Dec 5, 2024
1 parent 600accb commit f42e251
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/harbour/ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apt-get update
RUN apt-get install -y curl bash


RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs

RUN apt-get update && apt-get -y install git python g++ make
Expand Down
4 changes: 2 additions & 2 deletions docker/nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt-get update
RUN apt-get install -y curl bash


RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs

RUN apt-get update && apt-get -y install git python g++ make
Expand Down Expand Up @@ -95,4 +95,4 @@ RUN yarn
RUN yarn build

RUN mkdir -p $NGINX_HTML_DIR/docs/client
RUN cp -rfp ./_book/* $NGINX_HTML_DIR/docs/client
RUN cp -rfp ./_book/* $NGINX_HTML_DIR/docs/client

0 comments on commit f42e251

Please sign in to comment.