Issue:
"mbt build -p=cf" gives an error, thus the mtar file is not generated and we cannot push the application to cf:
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:
cache clear --force
But still facing the above error. Removing the cache did not solve the issue.
Issue: "mbt build -p=cf" gives an error, thus the mtar file is not generated and we cannot push the application to cf:
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:
cache clear --force But still facing the above error. Removing the cache did not solve the issue.
So, the proper registry should be set: npm config set registry https://registry.npmjs.org/
Please provide the following info:
MBT Version: Cloud MTA Build Tool version 1.2.18
OS Version: Cloud foundry
Link to the project: https://cockpit.sap.hana.ondemand.com/cockpit/#/globalaccount/engSrvCloud/subaccount/b9d5ba36-1c2b-46d7-80a1-15bdf6f32c1c/service-instances
Steps to Reproduce:
Info:
I tried it in my local visual studio code, it works fine there.
Please look into the issue.
Thanks and Regards, Farozan