SAP / cloud-mta-build-tool

Multi-Target Application (MTA) build tool for Cloud Applications https://sap.github.io/cloud-mta-build-tool
Apache License 2.0
139 stars 60 forks source link

"mbt build -p=cf" gives error #986

Closed FarozanFarman closed 2 years ago

FarozanFarman commented 2 years ago

Issue: "mbt build -p=cf" gives an error, thus the mtar file is not generated and we cannot push the application to cf: image-2022-08-26-16-43-40-473

Details of the issue: When we try to build an application using mbt build, it throws the above error.

I tried to delete the node modules, package-lock.json, gen folder, and do an "npm install". But even that is throwing an error: When we try to build an application using mbt build, it throws the above error.

I tried to delete the node modules, package-lock.json, gen folder, and do an "npm install". But even that is throwing an error: image-2022-08-26-16-49-10-149

cache clear --force But still facing the above error. Removing the cache did not solve the issue. image-2022-08-26-16-53-38-319

So, the proper registry should be set: npm config set registry https://registry.npmjs.org/

Please provide the following info:

Steps to Reproduce:

  1. Follow the clickstream: https://github.tools.sap/refapps/cp-extension-scenarios/tree/master/ECC-Extension-Scenario/Clickstream.xlsx
  2. At line no. 248, executing the command, it fails.

Info: image

image

image

I tried it in my local visual studio code, it works fine there.

Please look into the issue.

Thanks and Regards, Farozan

FarozanFarman commented 2 years ago

Hi,

I found a similar ticket: https://jira.tools.sap/browse/LCAP-2251 So closing this ticket.

Thanks and Regards, Farozan