Skip to Content
0
Oct 10, 2017 at 12:42 AM

Build failed when running ant clean all

794 Views

I'm working with Hybris 6.3 on Windows 10 64 bits.

Recently I tried to run an ant clean all on a hybris system with a module and an addon, but what once used to run with no problem, not it fails when I try to compile.

The error is not clear, I'm attaching the log output when I run the ant clean all command in this link since for some reason I'm unable to attach it to my post, still I'm adding here the last lines of the log in hopes something pops out:

     [touch] Creating C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\temp\hybris\touch\smarteditwebservices_testsrctouch
      [echo] building extension 'personalizationsmartedit'...
      [echo] START of calling grunt packageSkipTests on C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\ext-content\personalizationsmartedit
      [echo] failonerror=NOT SET, default=true, value=true
      [echo] Creating a link to C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\ext-content\npmancillary\resources\npm\node_modules in C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\ext-content\personalizationsmartedit\node_modules
      [exec] Unión creada para C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\ext-content\personalizationsmartedit\node_modules <<===>> C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\ext-content\npmancillary\resources\npm\node_modules
      [echo] Running grunt packageSkipTests
      [exec] (node:12228) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
      [exec] Running "jshint:all" (jshint) task
      [exec] Warning: Path must be a string. Received null Use --force to continue.
      [exec]
      [exec] Aborted due to warnings.
      [exec] (node:12228) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead.
 
 BUILD FAILED
 C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\platform\build.xml:20: The following error occurred while executing this line:
 C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\platform\resources\ant\compiling.xml:90: The following error occurred while executing this line:
 C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\platform\resources\ant\compiling.xml:148: The following error occurred while executing this line:
 C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\platform\resources\ant\util.xml:20: The following error occurred while executing this line:
 C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\platform\resources\ant\compiling.xml:155: The following error occurred while executing this line:
 C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\platform\resources\ant\compiling.xml:297: The following error occurred while executing this line:
 C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\platform\resources\ant\util.xml:144: The following error occurred while executing this line:
 C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\ext-content\personalizationsmartedit\buildcallbacks.xml:65: The following error occurred while executing this line:
 C:\Helvex\HYBRISCOMM6300P_8-70002554\hybris\bin\ext-content\npmancillary\buildcallbacks.xml:276: exec returned: 3

It's not really clear to me the reason for which the build is failing, I notice the message Aborted due to warnings but I don't understand the reason behind it. The last line says the exec returned: 3 but I have no idea what that means.

The only stuff I've changed lately on my computar was updating Node.js for some web development on other platforms, but I don't know if that affects Hybris.

Hope someone can identify my problem.