Skip to Content
0

Grunt Build In SAP Web IDE Full Stack very slow

Jan 09 at 09:49 AM

65

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

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

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,

Share
10 |10000 characters needed characters left characters exceeded
André Wuttig Jan 16 at 12:11 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded