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

Upgrade Nodejs to version 18 #2902

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vingar
Copy link

@vingar vingar commented Dec 5, 2024

Motivation:

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.

```
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.
```
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 >=18 fixes this issue.
@vingar vingar changed the title Upgrade Nodejs to version 16 Upgrade Nodejs to version 18 Dec 5, 2024
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 this pull request may close these issues.

1 participant