When trying to deploy an MTA project containing a NodeJS module to BTP, you get the following error message:
Execution of task "deploy" on application "<module_name>" failed.
Deployment of the "<project_name>" project failed. (Response state is FAILED).
In the application logs for the failed module, you see this error:
npm ERR! missing script: start
SAP BTP, Cloud Foundry environment
nodejs, node, npm, err!, missing script, start script, mta, project, web ide, bas, business application studio, btp, business technology platform, deploy, deployment of the, execution of task , KBA , CA-BAS-MTA , Multi target applications in Business Application Studio , BC-NEO-DPL , Deployment , CA-WDE-MTA , SAP Web IDE Multi Target App: create, build, deploy , Problem
About this pageThis 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.