2017-10-10 7 views
0

Windows 10 64ビットでHybris 6.3を使用しています。Hybrisサーバーでビルドに失敗しました

最近モジュールとアドオンを持つhybrisシステムでant cleanを実行しようとしましたが、一度問題なく実行していましたが、コンパイルしようとすると失敗しません。

エラーが、私はアリがthis link内のすべてのコマンドをきれいに実行したときに、私は、ログ出力を取り付けるよ、明確ではないが、それでも私は希望の何かここでログの最後の行を追加している飛び出す:

 [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しかし、私はそれがどういう意味か分かりません。

最近私のコンピュータで変更されたのは、他のプラットフォームのWeb開発用にNode.jsを更新していた唯一のものでしたが、それがHybrisに影響するかどうかはわかりません。

誰かが私の問題を特定できることを願っています。

答えて

1

「ログ」の中には、「つぶれ」が言及されているので、Node.jsの更新に関連しているようです。 https://gruntjs.com/getting-startedによると、gruntはnpm(Node.jsパッケージマネージャ)経由でインストールされ管理されます。

またログには次のようなものがあります。"deprecationWarning:process.EventEmitterは廃止予定です。代わりにrequire( 'events')を使用してください。これはNode.jsの問題です。https://github.com/LearnBoost/websocket.io/issues/55

私があなただったら、Node.jsをダウングレードし、問題が再現するかどうかを確認します。

+0

私は同僚が持っていた4.4.1にダウングレードして、感謝しました。 –

+0

私はそれがうまく働いて、うれしいよ! –

関連する問題