on 10-15-2021 2:19 AM
Tutorials: https://developers.sap.com/tutorials/btp-app-launchpad-service.html
--------------------------
executing fiori add deploy-config cf got error after entering cpapp-app-srv as destination
node:events:368
throw er; // Unhandled 'error' event
^
TypeError: Cannot read properties of undefined (reading 'addRoutingModules')
at e.exports._updateMtaConfig (/usr/local/lib/node_modules/@sap/generator-fiori/generators/deployment-generator/cf/index.js:1:11959)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async e.exports._writeDeploymentConfigChanges (/usr/local/lib/node_modules/@sap/generator-fiori/generators/deployment-generator/cf/index.js:1:8525)
at async e.exports.writing (/usr/local/lib/node_modules/@sap/generator-fiori/generators/deployment-generator/cf/index.js:1:8282)
Emitted 'error' event oninstance at:
at Immediate.<anonymous> (/usr/local/lib/node_modules/@sap/generator-fiori/node_modules/yeoman-generator/lib/index.js:791:20)
at processImmediate (node:internal/timers:464:21)
Do you need to install @sap/generator-fiori globally?
npm install -g @sap/generator-fiori
I tried to to install @sap/generator-fiori with no success
Hi yherwono,
Thanks for your feedback and sorry for the delayed answer!
Please re-run the module Add the SAP Launchpad Service starting from the result of the MTA deployment branch. You can find a link to it in the beginning of the module Add the SAP Launchpad Service. Here's a screenshot for your reference:
If the issue still persists after that, please share your mta.yaml file so we can investigate further.
Best regards,
Svetoslav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi slavipande22 ,
I cloned from the mta branch and still facing the same issue. Attached is the mta.yaml file (renamed to mta.txt).
Thanks in advance.
Best regards,
Yudha
Hi yherwono ,
The `mta.yaml` file looks OK to me. Could you double-check the following:
These are two of the reasons that can cause problems with the Fiori Generator.
Best regards,
Svetoslav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.