SAP Knowledge Base Article - Preview

3391520 - Rush build fails when changing/upgrading SmartEdit - SAP Commerce

Symptom

When doing a code upgrade or changes for SmartEdit in a local repository directly and running the ant build under the smartedittool, the rush build fails resulting in the error below:

[exec]
   [exec] Starting "rush build:dev"
   [exec]
   [exec] node:events:492
   [exec]   throw er; // Unhandled 'error' event
   [exec]   ^
   [exec]
   [exec] Error: write EPIPE
   [exec]  at afterWriteDispatched (node:internal/stream_base_commons:160:15)
   [exec]  at writeGeneric (node:internal/stream_base_commons:151:3)
   [exec]  at Socket._writeGeneric (node931:11)
   [exec]  at Socket._write (node943:8)
   [exec]  at writeOrBuffer (node:internal/streams/writable:392:12)
   [exec]  at _write (node:internal/streams/writable:333:10)
   [exec]  at Writable.write (node:internal/streams/writable:337:10)
   [exec]  at Readable.ondata (node:internal/streams/readable:766:22)
   [exec]  at Readable.emit (node:events:514:28)
   [exec]  at Readable.read (node:internal/streams/readable:539:10)
   [exec] Emitted 'error' event on Socket instance at:
   [exec]  at Socket.onerror (node:internal/streams/readable:785:14)
   [exec]  at Socket.emit (node:events:514:28)
   [exec]  at emitErrorNT (node:internal/streams/destroy:151:8)
   [exec]  at emitErrorCloseNT (node:internal/streams/destroy:116:3)
   [exec]  at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
   [exec] errno: -4047,
   [exec] code: 'EPIPE',
   [exec] syscall: 'write'
   [exec] }
   [exec]
   [exec] Node.js v18.17.1
   [exec] Analyzing repo state...
BUILD FAILED
C:\hyb\hybris\bin\platform\build.xml:13: The following error occurred while executing this line:
C:\hyb\hybris\bin\platform\resources\ant\compiling.xml:95: The following error occurred while executing this line:
C:\hyb\hybris\bin\platform\resources\ant\compiling.xml:153: The following error occurred while executing this line:
C:\hyb\hybris\bin\platform\resources\ant\util.xml:13: The following error occurred while executing this line:
C:\hyb\hybris\bin\platform\resources\ant\compiling.xml:160: The following error occurred while executing this line:
C:\hyb\hybris\bin\platform\resources\ant\compiling.xml:289: The following error occurred while executing this line:
C:\hyb\hybris\bin\platform\resources\ant\util.xml:142: The following error occurred while executing this line:
C:\hyb\hybris\bin\modules\smartedit\smartedittools\buildcallbacks.xml:189: The following error occurred while executing this line:
C:\hyb\hybris\bin\modules\npm-ancillary\npmancillary\buildcallbacks.xml:539: The following error occurred while executing this line:
C:\hyb\hybris\bin\modules\npm-ancillary\npmancillary\buildcallbacks.xml:131: exec returned: 1

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

SAP Commerce

Product

SAP Commerce all versions

Keywords

rush, smartedit, sedit, hybris, commerce , KBA , CEC-SCC-COM-SEDIT , SmartEdit , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.