hi,for more detail you can view this blog for step by stephttps://blog.csdn.net/huanglin6/article/details/114126129
Set Up SAP Fiori Tools in Visual Studio Code
Tutorial URL: https://developers.sap.com/tutorials/fiori-tools-vscode-setup.html
Hello Conrad Bernal, I was able to install the extension SAP Fiori Tools-Extension pack in Visual Studio code. I did try to implement the steps mentioned in the second tutorial (Set Up and Generate a New SAP Fiori App Project) and I am facing an issue in implementing the Step 1: Launch Application Generator. I have entered the keyword application generator in command pallete but i get the below error( mentioned in the quotes) . When i have installed the extension ( SAP Fiori Tools-Extension pack) then the Application Modeler is also installed . I am not sure why i got below error .
" In order to use the Application Generator, please install the Application Wizard extension from the VSCode marketplace. Source:SAP Fiori Tools-Application Modeler(Extension)."
Can you please help me in fixing this error. I appreciate all your help. Thanks in advance. Venkat Aluka
- 点赞 评论 复制链接分享
I'm facing a similar issue when using VS Code on Windows. I tried to install the above command in windows for npm-generator fiori but it still does not work.. I get the error cb() never called , there is an error with npm install. I've uninstalled, cleaned node/npm twice and tried again the same procedure but it still does not work.. Please help..
Thanks, Vivek点赞 评论 复制链接分享
Please see the FAQ,: https://help.sap.com/viewer/42532dbd1ebb434a80506113970f96e9/Latest/en-US I believe its an authorization issue.
Thanks Regina点赞 评论 复制链接分享
Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.点赞 评论 复制链接分享
Hello Conrad, Thank you for the reply, I have installed the Node.js (version v12.18.1 ) on my system and I still get the same message(" In order to use the Application Generator, please install the Application Wizard extension. from the VSCode marketplace.).I went ahead and did install the extension(Application wizard-Provides rich user experience for Yeoman generators.) but still no luck this time I see a different message on the command pallete. Thanks Venkat点赞 评论 复制链接分享
Hi -aluka This may be due to missing authorisations when installing packages globally. In order to resolve please ensure you have node installed and do the following: MacOS: open a terminal and execute
sudo npm i -g /generator-fiori-elements --:registry=https://registry.npmjs.orgWindows: Open a command prompt or PowerShell with “Run as Administrator”and execute
npm i -g /generator-fiori-elements --:registry=https://registry.npmjs.orgOnce this completes successfully, reload VSCode and restart the generator from the Command Palette. The generator should now appear.点赞 评论 复制链接分享
Sorry for the delay. Do you also have Node.js installed? This is also a requirement for using SAP Fiori tools with Visual Studio Code. The tutorial has since been updated to mention this. You can download it here: https://nodejs.org/en/download/
If you have issues after installing Node.js, please let us know.
Kind regards, Conrad (SAP UX Engineering)点赞 评论 复制链接分享