visual studio code - Fiori App Not Starting Locally with npm start - Stack Overflow

admin2025-04-22  1

I'm trying to develop a simple SAP Fiori List Report application with SAP Fiori Tools and VSCode. My app consumes an OData service published in the SAP system.

When I try to start my application locally using npm start ("fiori run --open ..."), the browser does not load the page, and doesn't ask for SAP credentials (I can access the ODATA via its address, that is, not using the app).

Started having this problem after it worked fine... I changed network (home/office)... can't seem to understand what else changed in the meantime...

My environment is the following:

  • Windows 10.0.22631
  • node-js: v22.12.0;  npm: v10.9.0; sap/[email protected];

package.json file:

    "@sap-ux/ui5-middleware-fe-mockserver": "^2.2.86",
    "@sap/ux-ui5-tooling": "^1.16.2",
    "@ui5/cli": "^4.0.12"

manifest.json file:

"sap.ui5": {
    "flexEnabled": true,
    "dependencies": {
      "minUI5Version": "1.114.0",
......

Any ideas of what could be wrong, or how I could troubleshoot this?

Tried to start my application locally using npm start ("fiori run --open ..."), was expecting the Fiori element standard list report UI. Have tried updating the support packages, and navigating the command line infos but... nothing.

I'm trying to develop a simple SAP Fiori List Report application with SAP Fiori Tools and VSCode. My app consumes an OData service published in the SAP system.

When I try to start my application locally using npm start ("fiori run --open ..."), the browser does not load the page, and doesn't ask for SAP credentials (I can access the ODATA via its address, that is, not using the app).

Started having this problem after it worked fine... I changed network (home/office)... can't seem to understand what else changed in the meantime...

My environment is the following:

  • Windows 10.0.22631
  • node-js: v22.12.0;  npm: v10.9.0; sap/[email protected];

package.json file:

    "@sap-ux/ui5-middleware-fe-mockserver": "^2.2.86",
    "@sap/ux-ui5-tooling": "^1.16.2",
    "@ui5/cli": "^4.0.12"

manifest.json file:

"sap.ui5": {
    "flexEnabled": true,
    "dependencies": {
      "minUI5Version": "1.114.0",
......

Any ideas of what could be wrong, or how I could troubleshoot this?

Tried to start my application locally using npm start ("fiori run --open ..."), was expecting the Fiori element standard list report UI. Have tried updating the support packages, and navigating the command line infos but... nothing.

Share Improve this question edited Jan 21 at 16:57 Sandra Rossi 13.8k6 gold badges26 silver badges56 bronze badges asked Jan 21 at 15:07 Francisco RavaraFrancisco Ravara 212 bronze badges 1
  • The error log from the browsers dev tools might be helpful. Also the VSCode terminal might have valuable information. – Marc Commented Jan 23 at 15:32
Add a comment  | 

1 Answer 1

Reset to default 1

Solved... I was using a VPN that interfered with the redirection to sapui5 and the ODATA service, made by the local proxy (defined in the ui5-local.yaml).

转载请注明原文地址:http://anycun.com/QandA/1745301846a90587.html