cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi every one
I use this tutorial
https://developers.sap.com/tutorials/fiori-tools-generate-project.html
to create Fiori App Project but i got this error

2020-11-30-15-02-36.pn

I would greatly appreciate it if help me

{"message":"@sap/fiori-elements generator failed - Command failed: powershell (Get-CimInstance -ClassName Win32_OperatingSystem).caption\n'powershell' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\n","stack":"Error: Command failed: powershell (Get-CimInstance -ClassName Win32_OperatingSystem).caption\n'powershell' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\n\n\tat v (C:\\Users\\Saphiran-01\\AppData\\Roaming\\npm\\node_modules\\@sap\\generator-fiori-elements\\generators\\app\\index.js:556:307535)\n\tat Function.e.exports.sync (C:\\Users\\Saphiran-01\\AppData\\Roaming\\npm\\node_modules\\@sap\\generator-fiori-elements\\generators\\app\\index.js:556:309386)\n\tat e.exports (C:\\Users\\Saphiran-01\\AppData\\Roaming\\npm\\node_modules\\@sap\\generator-fiori-elements\\generators\\app\\index.js:556:305702)\n\tat Object.e.exports [as default] (C:\\Users\\Saphiran-01\\AppData\\Roaming\\npm\\node_mod...

View Entire Topic
vt1003
Discoverer
  • Try to install/reinstall Nodejs. Don't forget to check the box for installing the "chocolatey" (comes with Nodejs).
  • Install VS-Code Plugin for Fiori (SAp Fiori Extension Pack)
  • On the left menu, where the buttons for explorer, search, plugins etc. are found, the new icon for SAP Fiori must appear; Click on it
  • Now go to "View"-"Command Palette" and select Fiori: Open Application Generator

This worked for me