Skip to Content

Grunt Build In SAP Web IDE Full Stack very slow

We use the Web IDE Full Stack together with grunt to build our SAPUi5 Application. The major problem is that it is very slow, because npm needs soo much time on every build to install the packages.

Can we configure something to boost this proces?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 14 at 01:11 PM

    Hi Andre,

    Can you please give more information about your scenario:

    • How often do you build the project?
    • Do you have a lot of dependencies in package.json?
    • Are the delays you are observing mostly in the "npm install" phase or the "grunt" phase?

    thank you,

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 16 at 12:11 PM

    Hi,

    • How often do you build the project?

    We use it for a library HTML5 App which is build very often to make changes available for every other HTML5 app.

    • Do you have a lot of dependencies in package.json?
    {
    	"name": "grunt-build",
    	"version": "0.0.1",
    	"description": "Grunt build",
    	"private": true,
    	"devDependencies": {
    		"grunt-postcss": "~0.9.0",
    		"autoprefixer": "~7.2.4",
    		"grunt-contrib-less": "1.4.1",
    		"grunt-contrib-cssmin": "2.2.1",
    		"@sap/grunt-sapui5-bestpractice-build": "1.3.33"
    	}
    }
    

    -> not much stuff - only grunt things

    • Are the delays you are observing mostly in the "npm install" phase or the "grunt" phase?

    thank you,

    Only during npm install step!

    Thank you guys

    Add comment
    10|10000 characters needed characters exceeded