Skip to Content

Grunt Build in SAP Web IDE error

Hi all

I followed blog titled Grunt Build in SAP Web IDE but when i get to the Build step i get build error and the console errors are shown below

Am i missing something?

Thank you

buildfail.png (82.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 05, 2017 at 10:53 AM

    Hi,

    I just had the same issue. If you look at the console you can see what's wrong: there's no valid target for the package you are requesting from npm. It seems the version you are requesting (1.3.8) doesn't exist anymore so you have to specify a different version (1.3.15). I guess it's not supposed to be that way, old packages should still be available. You can fix this by modifying the package.json file:

    "devDependencies": {
      "@sap/grunt-sapui5-bestpractice-build": "1.3.X"
    }
    

    Cheers,

    Pierre

    Add comment
    10|10000 characters needed characters exceeded