cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori Application Generator Throwing Errors in BAS

rauf_shaikh
Active Participant

Hi Experts,

Since today morning I am getting below Error when I am generating SAP Fiori application using template in SAP BAS,

Due to this error I can see many node modules are not getting installed and unable to test, build and deploy app.

I tried to run npm install command in my project but even though I am getting error,

I am stuck due to this error, please help.

{"message":"@sap/fiori:app generator failed - process.on(uncaughtException) Cannot read property 'markName' of undefined","stack":"TypeError: Cannot read property 'markName' of undefined\n at Object.t.sendTelemetry (/extbin/npm/globals/lib/node_modules/@sap/generator-fiori/generators/generator-common/index.js:1:27831)\n at ChildProcess.<anonymous> (/extbin/npm/globals/lib/node_modules/@sap/generator-fiori/generators/generator-common/index.js:1:16019)\n at ChildProcess.emit (events.js:314:20)\n at maybeClose (internal/child_process.js:1022:16)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)"}

EDIT:
Please check below additional data for troubleshooting

  • This is with respect to Productive BTP environment
  • BTP Region : Europe (Frankfurt)
  • Dev Space Type : SAP Fiori
  • I am creating Freestyle SAP Fiori Application
  • Template I am using = File -> New Project From Template -> SAP Fiori Application -> Application Type : SAPUI5 freestyle-> Select SAPUI5 Application

-Regards,

Rauf.

View Entire Topic
quiggs1000
Advisor
Advisor
0 Kudos

Hello Rauf,

Sorry to hear you are having an issue with the Fiori generator :(. I have tried to replicate the issue but I cannot see the error message. Could you please answer the following questions:

1. What version of the Fiori generator is installed? You can see this by hovering over the '?' alongside the text 'Which floorplan do you want to use?' when selecting your floorplan.

2. Can you please detail what values you provided for each step in the generator so that I can try and replicate?

3. At what stage does this error appear? Is it when you click "Finish" to generate the application.

Thanks,

Ian