2017-10-10 149 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

我很高興它的工作,歡呼! –

相關問題