cancel
Showing results for 
Search instead for 
Did you mean: 

Starting Application in VS Code

vishnucta
Active Participant
0 Kudos

Hi Team,

I couldn't start the List Report i created via VS Code. I executed command "npm start"

Below is the screenshot.

vsc.jpg

Accepted Solutions (1)

Accepted Solutions (1)

jhodel18
Active Contributor
0 Kudos

Hi Vishnu,

It looks like you don't have UI5 tooling installed globally. So execute cli command below:

> npm install -g @ui5/cli
vishnucta
Active Participant
0 Kudos

I have executed as you have mentioned above.

When you say globally ... am i doing it right?.

I was following the tutorial from SAP https://developers.sap.com/tutorials/fiori-tools-generate-project.html

They havent mentioned anything above configuring UI5 Tooling in VSCode... If you have any proper document , kindly share.

jhodel18
Active Contributor

You fixed one issue and this new one pops out.

It doesn't look like you already did the npm install on your project. So do:

> npm install
vishnucta
Active Participant
0 Kudos

Hey jhodel18

Thanks for the answer , and it worked. Even though the app isnt showing any list report, i could see now the browser opening up.
Let me try something to figure that out whats going wrong and if nothing works , i will open a new thread of discuss.

Do we need to do the below cmd commands every time we create a Fiori List report?


Let me reiterate the steps again.

1) Create a Fiori List report project using Yeoman generator

2) Run > npm install -g @ui5/cli

3) npm install

4) Then npm start

Please guide us to a document on why we need to do all the above stuff , just make sure i get the basics.

Happy Coding 🙂

Vishnu

jhodel18
Active Contributor
0 Kudos

Hi Vishnu,

All of steps you need to repeat on new Fiori project except only for step 2 -- this is a one time step, -g means install globally in your machine. You may execute step 2 again if you want to install the latest version of UI5 tooling.

npm install is started procedure when working with nodejs based projects.

If my answer solved your issue, please don't forget to mark the answer as accepted. Thanks!

Answers (0)