on 2019 Jun 26 6:01 PM
Hi,
I am working on a smartedit extension and I had to run "ant npminstall" to build it. But now, everytime I run any task of ant, the build time has increased with a factor of 2 to 3 depending on the task. Is there a way to deactivate the npm task?
Request clarification before answering.
Delete hybris/bin/modules/npm-ancillary/npmancillary/resources/npm/node_modules folder and the Smartedit custom modules are suddenly not included in the build anymore.
Smartedit should really get build support for srctouch or something like all the other extensions, because the current build times are just ridiculous.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
go to npmancillary\resources\ant\windows.properties
and change
#loc.NPM_HOME=${ext.npmancillary.path}\\resources\\npm
loc.NPM_HOME=NotSet
This way we can speed up the build time of Hybris by preventing Grunt from being executed.
Note that you don’t want to disable Grunt permanently !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am also facing this issue , is there any way to do uninstall "ant npminstall"
Has anybody got the solution to revert what ant npminstall has done ?
So that build will exclude angular builds while doing hybris build.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The consequence of this is that any change in the javascript (angular or typescript) of smartEdit could not be released because of the huge amount of time it takes to build the package on each environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That happened to me too. How to solve?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can i know which smartedit version do you use ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.