UI5 Tooling 3.0 doesn't support Node.js 19+
pubmikeb opened this issue · 5 comments
I've tried to install the following dependencies under Node.js 20.x or 21.x:
"@sap/ux-ui5-tooling": "^1.11.2"
Expected Behavior
The installation should be proceeded correctly since both Node.js 20.x
and 21.x
are in GA.
Current Behavior
I got the following error:
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '>= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0',
npm WARN EBADENGINE pnpm: '>=6.26.1 < 7.0.0 || >=7.1.0'
npm WARN EBADENGINE }
Steps to Reproduce the Issue
- Try to install any of the following components under Node.js
20.x
or21.x
:
"@sap/ux-ui5-tooling": "^1.11.2"
- Check the console output
Context
- Node.js Version:
20.x
,21.x
, - npm Version:
10.2.0
- OS/Platform:
Windows 10 22H2
Log Output / Stack Trace
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@sap-ux/adp-tooling@0.2.5',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '>= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0',
npm WARN EBADENGINE pnpm: '>=6.26.1 < 7.0.0 || >=7.1.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v21.0.0-v8-canary202310163027b0e12d', npm: '10.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@sap-ux/axios-extension@1.4.7',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '>= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0',
npm WARN EBADENGINE pnpm: '>=6.26.1 < 7.0.0 || >=7.1.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v21.0.0-v8-canary202310163027b0e12d', npm: '10.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@sap-ux/btp-utils@0.11.9',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '>= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0',
npm WARN EBADENGINE pnpm: '>=6.26.1 < 7.0.0 || >=7.1.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v21.0.0-v8-canary202310163027b0e12d', npm: '10.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@sap-ux/logger@0.3.8',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '>= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0',
npm WARN EBADENGINE pnpm: '>=6.26.1 < 7.0.0 || >=7.1.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v21.0.0-v8-canary202310163027b0e12d', npm: '10.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@sap-ux/preview-middleware@0.5.7',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '>= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0',
npm WARN EBADENGINE pnpm: '>=6.26.1 < 7.0.0 || >=7.1.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v21.0.0-v8-canary202310163027b0e12d', npm: '10.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@sap-ux/store@0.3.14',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '>= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0',
npm WARN EBADENGINE pnpm: '>=6.0.2'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v21.0.0-v8-canary202310163027b0e12d', npm: '10.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@sap-ux/system-access@0.2.7',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '>= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0',
npm WARN EBADENGINE pnpm: '>=6.26.1 < 7.0.0 || >=7.1.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v21.0.0-v8-canary202310163027b0e12d', npm: '10.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@sap-ux/ui5-config@0.19.3',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '>= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0',
npm WARN EBADENGINE pnpm: '>=6.26.1 < 7.0.0 || >=7.1.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v21.0.0-v8-canary202310163027b0e12d', npm: '10.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@sap-ux/yaml@0.13.8',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '>= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0',
npm WARN EBADENGINE pnpm: '>=6.26.1 < 7.0.0 || >=7.1.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v21.0.0-v8-canary202310163027b0e12d', npm: '10.2.0' }
npm WARN EBADENGINE }
Hi @pubmikeb ,
Unfortunately, your request addresses the @sap-ux
which is not the same as @ui5/*
.
Please forward your request to the correct repository.
Best Regards
Unfortunately, your request addresses the
@sap-ux
which is not the same as@ui5/*
.this issue is valid for
@ui5/*
as well! Please, check this issue for the following components:"@ui5/cli": "^3.7.0" "@ui5/fs": "^3.0.5" "@ui5/logger": "^3.0.0"The current GA-versions of Node.js:
20.x
(LTS) and21.x
.
Could you please point out where you face those issues with the @ui5/
packages?
The mentioned warning comes from a check npm performs based on the engines
field in the package.json
.
All our packages in v3 are supporting Node 16 and Node 18 or higher. This includes Node 19, although that version has reached its End-of-Life on June 2023.
For the other packages, please check the npm website for information about the project.
For example https://www.npmjs.com/package/@sap-ux/store is part of an SAP Open-Source Project were this issue can be reported to. For other projects, and in general, please use the usual SAP support process via https://support.sap.com/.
All our packages in v3 are supporting Node 16 and Node 18 or higher.
@matz3, when I run npm update
for the mentioned in the ticket body components, I get:
node: '>= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0'
From this warning I assume, that 20.x
and 21.x
and not supported.
All packages in the posted log output are within the @sap-ux/
scope. They do not belong to this project. Most of them, if not all, are part of the SAP/open-ux-tools project. Please open an issue at https://github.com/SAP/open-ux-tools/issues/new/choose.
All packages in the posted log output are within the
@sap-ux/
scope. They do not belong to this project. Most of them, if not all, are part of the SAP/open-ux-tools project. Please open an issue at https://github.com/SAP/open-ux-tools/issues/new/choose.
Thanks a lot, a new ticket: SAP/open-ux-tools#1388.