Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Yeoman throwed error SAP UI5 Application Generator on vscode

I get the error message that creating the Fiori App which source Odata.

{"message":"@sap/fiori:app generator failed - env.on(error) Cannot read properties of undefined (reading 'version')","stack":"TypeError: env.on(error) Cannot read properties of undefined (reading 'version')\n\tat default_1._applyDefaults (/opt/homebrew/lib/node_modules/@sap/generator-fiori/generators/app-gen-shared/app/index.js:1:676600)\n\tat default_1.writing (/opt/homebrew/lib/node_modules/@sap/generator-fiori/generators/app-gen-shared/app/index.js:1:673522)\n\tat Object.<anonymous> (/opt/homebrew/lib/node_modules/@sap/generator-fiori/generators/commonlibs/index.js:2:4454280)\n\tat /opt/homebrew/lib/node_modules/@sap/generator-fiori/generators/commonlibs/index.js:2:3726211\n\tat new Promise (<anonymous>)\n\tat /opt/homebrew/lib/node_modules/@sap/generator-fiori/generators/commonlibs/index.js:2:3725971\n\tat g.add.once (/opt/homebrew/lib/node_modules/@sap/generator-fiori/generators/commonlibs/index.js:2:4454298)\n\tat Immediate.<anonymous> (/Users/mert/.vscode/extensions/sapos.yeoman-ui-1.13.0/dist/extension.js:2:1970918)\n\tat process.processImmediate (node:internal/timers:466:21)"}

1. enter image description here

I found some solution up about this error that relates certification or proxy settings but it didn't work for me.

I'm using MacOS system, If I call OData URL on Firefox It gets the Data XML correctly. At this time, I tried the Safari Browser with same URL then it explode pop-up which is contain about ask opening Outlook I didn't understand about topic.

Is there anyone help?

Answer*

Draft saved
Draft discarded
Cancel
1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center. Commented Nov 16, 2023 at 14:39

AltStyle によって変換されたページ (->オリジナル) /