cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori - NPM Run Start is not working on VSCode

0 Kudos

Hi Gurus,

I create my application with the Application Wizard over Visual Studio Code, then it automatically installs the necessary packages. However, when I issue the NPM RUN START command, the program gives the following error. I installed the packages (fiori-generator, cli) globally again but couldn't solve the problem. I request your help.

Thanks,

View Entire Topic
former_member620231
Participant
0 Kudos

Hi,

Not sure if this will help you, but this is what I currently have in my package.json under "scripts".

Try reinstalling the node modules with the below and then also do an npm update to be sure:

    "devDependencies": {
        "@sap/ux-ui5-tooling": "^1.3.2",
        "@ui5/cli": "^2.12.1",
        "@ui5/fs": "^2.0.6",
        "@ui5/logger": "^2.0.1"
    },
    "ui5": {
        "dependencies": [
            "@sap/ux-ui5-tooling"
        ]
    }

Also I have

npm version: 7.22.0

node version: 15.10.0

Alex

0 Kudos

Hi Alex,

Actually I try npm install and npm update again but the problem is related to this error :

former_member620231
Participant
0 Kudos

Hi bugra_yuksel73,

Did you delete de node_modules folder before running npm install again? Please also delete package-lock.json

Did you check the npm and node versions? Are they up to date?

Alex