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

App Generator not getting luanched

vijay_jala2
Explorer
12,951

When trying to open the App Generator, I am getting the following error -

{"message":"@sap/fiori:app generator failed - runGenerator() Cannot read property 'resolved' of undefined","stack":"TypeError: runGenerator() Cannot read property 'resolved' of undefined\n at b.<anonymous> (c:\\Users\\Vjala\\.vscode\\extensions\\sapos.yeoman-ui-1.1.53\\dist\\extension.js:193:113206)\n at Generator.next (<anonymous>)\n at s (c:\\Users\\Vjala\\.vscode\\extensions\\sapos.yeoman-ui-1.1.53\\dist\\extension.js:193:109787)"}

My VS code version is 1.53.0.

Fiori Tools appliction wizard extensions version v1.1.53

Please advise.

Regards

Vijay Jala

Accepted Solutions (1)

Accepted Solutions (1)

nikos_c
Explorer

Hello, I had the same issue and performed the steps provided in the comment of Vivay:

Please follow below steps as specified by sinead.roche -

  1. Uninstall the existing generator with the command: npm uninstall -g @sap/generator-fiori.
  2. Then try and install the generator again by executing: npm i -g @sap/generator-fiori

I have previously downloaded nodejs in my pc and installed it in order to have npm available.

I hope it helped!

martin_grellmann
Explorer
0 Kudos

Sometimes you have to install in Global NPM with sudo (requires your Passwort), but this hint works.

glaucosilva
Explorer
0 Kudos

I am not sure, but sometimes I need to reinstall old versions of Application Wizard extension. Currently, the only version is working in my setup is the version 1.16.1

tdangwa
Explorer
0 Kudos
Worked for me

Answers (5)

Answers (5)

Ludovic
Explorer

Hi Vijay,

Could you explain how you solved this issue. I'm still facing the same.

Thanks a lot

vijay_jala2
Explorer
0 Kudos

Hey Ludovic

Try to update your extensions to the latest version. This should resolve the issue.

Regards

Vijay Jala

0 Kudos

Same problem for me

Visual studio code 1.55.1

Fiori tools v1.1.7

All prerequisites installed

Thanks for your help

Nicola

Ivan_Miguel
Explorer
0 Kudos

I have the same problem.

0 Kudos

New version 1.1.9 solved the issue

thanks

elena_valkova
Discoverer
0 Kudos

Hello, I still have this problem. I`ve install last version for the Extension, but when I was starting Open Application Generate I`ve got an error.

zdravko_georgiev
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello elena.valkova ,

could please post the error message that you are getting?

Also please enter this in your terminal and provide the output:

`npm list -g --depth=0 | grep 'generator`

Best Regards,

Zdravko

elena_valkova
Discoverer
0 Kudos

Thank you zdravko.georgiev

Now it is work correctly after restarting several times.

JaimeRodriguez
Participant
0 Kudos

I'm still facing this issue with all extensions updated, current version is 1.1.55

sinead_roche
Associate
Associate
0 Kudos

Please provide details of the error you are getting.

After you updated all extensions, make sure that you reload VS Code.

JaimeRodriguez
Participant
0 Kudos

This is the error message

{"message":"@sap/fiori:app generator failed - runGenerator() Cannot read property 'resolved' of undefined","stack":"TypeError: runGenerator() Cannot read property 'resolved' of undefined\n\tat b.<anonymous> (/home/jrodriguez/.vscode-server/extensions/sapos.yeoman-ui-1.1.55/dist/extension.js:193:113542)\n\tat Generator.next (<anonymous>)\n\tat s (/home/jrodriguez/.vscode-server/extensions/sapos.yeoman-ui-1.1.55/dist/extension.js:193:109787)"}

Happens using Windows and WSL2

I tried after reload and also close & open VSCode

sinead_roche
Associate
Associate
0 Kudos

Hi Jamie,

please enter this in your terminal and provide the output:

`npm list -g --depth=0 | grep 'generator`

Kind regards,

Sinead

JaimeRodriguez
Participant
0 Kudos

Hi Sinead,

This is the output:

➜   npm list -g --depth=0 | grep 'generator'
├── @sap/generator-add-hdb-module@1.0.0
├── @sap/generator-cap-project@1.4.0
├── @sap/generator-fiori-elements@1.0.25
├── @sap/generator-fiori-freestyle@0.9.17
├── @sap/generator-hdb-project@1.0.0

Also, I have the same error in another computer, but only using wsl2 and, in this computer, I'm having this message at start:

When I choose Now:

sinead_roche
Associate
Associate

Hi Jamie,

You are missing the new generator which replaces the deprecated Fiori elements generator.

Please run the following:

npm i -g @sap/generator-fiori

Then you can remove the old deprecated generator by running the following:

npm uninstall -g @sap/generator-fiori-elements

npm uninstall -g @sap/generator-fiori-freestyle

Kind regards,

Sinead

JaimeRodriguez
Participant
0 Kudos

Hi Sinead,

It works now. Thank you!

regina_sheynblat
Associate
Associate
0 Kudos

Vijay,

Can you please make sure that you have all the pre-requisites installed:

https://help.sap.com/viewer/b2088bd8ed3748b78adfe213736640a3/Latest/en-US

Thanks

Regina

vijay_jala2
Explorer
0 Kudos

Thanks Ragina for the response. I have already installed all the pre-requisites. But the problem here was w.r.t latest updates of the extensions that came through last week. Tobias and his team has helped me in this issue.

Regards

Vijay Jala