cancel
Showing results for 
Search instead for 
Did you mean: 

Error when deploying simple Fiori Elements app

06-20-2025 11:53 PM
FelipeGirardi Newcomer
598 views 0 comments
0 Likes
SAP Managed Tags
Subscribe

Hello,

I am doing the Developing and Extending SAP Fiori Elements Apps course from learning.sap.com. In week 3 unit 4 "Deploying your SAP Fiori elements app", when I execute:

 

npx fiori add deploy-config

 

And select Cloud Foundry, instead of going to the next step, I get the following:

 

Adding deploy-config to the project.
info Add:Deploy-config Using: /fiori:deploy-config
? Please choose the target Cloud Foundry

No change to package.json was detected. No package manager install will be executed.

 

I don't know what is causing this. I had to download Yeoman as a dependency before executing this command, maybe it has to do with that or with npm. My package.json file:

{
  "name": "bookinganalysis",
  "version": "0.0.1",
  "description": "An SAP Fiori application.",
  "keywords": [
    "ui5",
    "openui5",
    "sapui5"
  ],
  "main": "webapp/index.html",
  "devDependencies": {
    "@sap-ux/ui5-middleware-fe-mockserver": "2",
    "@sap/ux-ui5-tooling": "1",
    "@ui5/cli": "^3.0.0"
  },
  "scripts": {
    "start": "fiori run --open \"test/flp.html#app-preview\"",
    "start-local": "fiori run --config ./ui5-local.yaml --open \"test/flp.html#app-preview\"",
    "build": "ui5 build --config=ui5.yaml --clean-dest --dest dist",
    "start-mock": "fiori run --config ./ui5-mock.yaml --open \"test/flp.html#app-preview\"",
    "deploy": "fiori verify",
    "deploy-config": "fiori add deploy-config",
    "start-noflp": "fiori run --open \"index.html?sap-ui-xx-viewCache=false\"",
    "start-variants-management": "fiori run --open \"preview.html#app-preview\""
  },
  "sapuxLayer": "CUSTOMER_BASE",
  "sapux": true
}

 

 

0 Likes

Accepted Solutions (0)

Answers (0)