2017-10-10 150 views
0

我在Windows 10 64位上使用Hybris 6.3。在Hybris服务器上构建失败

最近我试着用一个模块和一个插件在一个hybris系统上运行一个ant clean,但是曾经用来运行没有问题,当我尝试编译时没有失败。

的错误是不明确的,我附加日志输出,当我在this link运行ant清除所有的命令,我依然在这里添加日志的最后几行,希望东西弹出:

 [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] [4mRunning "jshint:all" (jshint) task[24m 
     [exec] [33mWarning: Path must be a string. Received null Use --force to continue.[39m 
     [exec] 
     [exec] [31mAborted due to warnings.[39m 
     [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 

我不太清楚构建失败的原因,我注意到由于警告而中止的消息,但我不明白背后的原因。最后一行说,执行委员回复说:3,但我不知道这意味着什么。

我在计算机上最近更改的唯一东西是更新Node.js在其他平台上的一些Web开发,但我不知道是否会影响Hybris。

希望有人能识别我的问题。

回答

1

在我看来,它可能与Node.js的更新有关,因为我在日志中看到“grunt”被提及。根据https://gruntjs.com/getting-started grunt通过npm(Node.js包管理器)进行安装和管理。

我还在日志中看到以下内容:“DeprecationWarning:process.EventEmitter is deprecated。Use require('events')instead。”这似乎是一个Node.js问题,可以在这里看到:https://github.com/LearnBoost/websocket.io/issues/55

如果我是你我会尝试降级Node.js,看看问题是否重现。

+0

我降级到4.4.1,我的同事已经运行了,谢谢。 –

+0

我很高兴它的工作,欢呼! –

相关问题