SAP Knowledge Base Article - Preview

2898240 - CDS "failed to create BuildTaskHandler " error when building Node.js module in SAP Web IDE

Symptom

CDS errors when building Node.js module in SAP Web IDE such as:

(Executor) [cds] - failed to create BuildTaskHandler [@sap/cds/lib/build/node-cf]

(Executor) [cds] - SyntaxError: Invalid regular expression: /^(?:(?:_|\p{Letter}|\p{Letter_Number})(?:_|\p{Letter}|\p{Letter_Number}|\p{Decimal_Number}|\p{Nonspacing_Mark}|\p{Spacing_Mark}|\p{Connector_Punctuation}|\p{Format}){0,127})/: Invalid escape

(Executor) Error: Command failed: npm install && npm run build


Read more...

Environment

SAP Web IDE Full-Stack

Product

SAP Cloud Platform Web IDE 2.0

Keywords

Web IDe, Node.js, Build failed, cds, SyntaxError, npm , KBA , 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.