SAP Knowledge Base Article - Preview

3231666 - How to check compatibility between dependencies defined in package.json and Node.js version

Symptom

When building a project which contains nodejs module, build fails with similar error as below.

INFO executing the "npm install --production" command...
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@sap/<dependency>',
npm WARN EBADENGINE   required: { node: '^6.0.0 || ^8.0.0 || ^10.0.0 || ^12.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.x.x', npm: '8.x.x' }
npm WARN EBADENGINE }


Read more...

Environment

SAP Business Technology Platform

Product

SAP Business Technology Platform all versions

Keywords

CAP, MTA, BAS, Business Application Studio, Web IDE, webide , KBA , CA-BAS-BLD , Build Application - SAP Business Application Studio , BC-XS-CDX-NJS , SAP CAP – node.js runtime , BC-XS-JS , Javascript runtime , CA-WDE-BLD , SAP Web IDE Build application , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.