簡體   English   中英

在Hybris服務器上構建失敗

[英]Build failed on Hybris server

我正在Windows 10 64位上使用Hybris 6.3。

最近,我嘗試在帶有模塊和附加組件的hybris系統上運行所有Ant清理操作,但是曾經運行時沒有問題,但在嘗試編譯時不會失敗。

錯誤尚不清楚,我在此鏈接中運行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

對我來說,還不是很清楚構建失敗的原因,我注意到消息由於警告而異常終止,但我不理解其背后的原因。 最后一行說高管返回了:3,但我不知道那是什么意思。

我最近在計算機上更改的唯一內容是更新Node.js,以便在其他平台上進行某些Web開發,但是我不知道這是否會影響Hybris。

希望有人能找出我的問題。

在我看來,這可能與Node.js的更新有關,因為我在日志中看到提到了“咕unt”。 根據https://gruntjs.com/getting-started的說明, grunt是通過npm(Node.js程序包管理器)安裝和管理的。

我還在日志中看到以下內容: “不建議使用警告:process.EventEmitter已過時。請改用require('events')。” 這似乎是一個Node.js問題,可以在這里看到: https : //github.com/LearnBoost/websocket.io/issues/55

如果您是我,我將嘗試降級Node.js並查看問題是否重現。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM