在 Hybris 服务器上构建失败
Build failed on Hybris server
我正在 Windows 10 64 位上使用 Hybris 6.3。
最近我尝试运行 ant clean all on a hybris system with a module and an add-on,但是曾经运行没问题,不是当我失败的时候尝试编译。
错误不清楚,我在 运行 this link 中的 ant clean all 命令时附加了日志输出,我仍然在这里添加日志的最后几行希望突然出现一些东西:
[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
我不太清楚构建失败的原因,我注意到消息因警告而中止,但我不明白背后的原因。最后一行说 exec 返回:3 但我不知道那是什么意思。
我最近在计算机上所做的唯一更改是更新 Node.js 以在其他平台上进行一些 Web 开发,但我不知道这是否会影响 Hybris。
希望有人能找出我的问题。
在我看来,这可能与 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 并查看问题是否重现。
我正在 Windows 10 64 位上使用 Hybris 6.3。
最近我尝试运行 ant clean all on a hybris system with a module and an add-on,但是曾经运行没问题,不是当我失败的时候尝试编译。
错误不清楚,我在 运行 this link 中的 ant clean all 命令时附加了日志输出,我仍然在这里添加日志的最后几行希望突然出现一些东西:
[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
我不太清楚构建失败的原因,我注意到消息因警告而中止,但我不明白背后的原因。最后一行说 exec 返回:3 但我不知道那是什么意思。
我最近在计算机上所做的唯一更改是更新 Node.js 以在其他平台上进行一些 Web 开发,但我不知道这是否会影响 Hybris。
希望有人能找出我的问题。
在我看来,这可能与 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 并查看问题是否重现。