cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue while executing npm start run in VS Code using Fiori Application Generator

stan786
Explorer
0 Likes
4,697

Hello SAP Experts,

I created a empty SAPUI5 application using the template in the Fiori application Generator v1.7.5 in VS Code. I did not add any other code and just tried to execute the app using command npm run start and gave an error which is attached below.

I have tried with and without proxy, both didn't work. The SAPUi5 version is defined in manifest.json as 1.71.2.

Appreciate your help in advance.

Regards,

-Stanley

Accepted Solutions (1)

Accepted Solutions (1)

zdravko_georgiev
Product and Topic Expert
Product and Topic Expert

Hello jun.wu5,

I am happy to announce that version 1.8.1 of "@sap/ux-ui5-tooling" is now released. This version contains the fix for this issue. You can get the fix by updating the "@sap/ux-ui5-tooling" version in your application.

Best regards,

Zdravko

The Fiori tools team

tashley
Product and Topic Expert
Product and Topic Expert
0 Likes

We helped you to accept the answer, since there were no updates after 7 days. You can unaccept it anytime if the answer provided was not helpful enough and you have further question

Answers (3)

Answers (3)

zayidu
Participant
0 Likes

Hello Experts,


I created a new List App using Fiori Generator via VS Code Extension.

Everything was a success and then I tried running npm i, unfortuantely the app doesn't run.
Below are the errors I get in the terminal and in the web console.
Thanks for helping me.

stan786
Explorer
0 Likes

Hi Jun,

Thank you for your help.

If we change directly in the npm module js file, wouldn't it get overwritten the next time I am re-installing the node modules in another system? I found that this issue exists with only the latest version of npm module @sap/ux-ui5-tooling which is 1.7.5. This issue doesn't exist in version 1.7.0.

So I removed the npm module using the following command.

npm uninstall @sap/ux-ui5-tooling@1.7.5

And I installed an older version using the following command and now it is working.

npm install @sap/ux-ui5-tooling@1.7.0
junwu
SAP Champion
SAP Champion
0 Likes

yes, mine is just workaround.

junwu
SAP Champion
SAP Champion
0 Likes

open fiori-tools-proxy.js(file location is in your error msg) file and change line 113921, just return false.

I had same issue a few days back, this trick helped.