SAP Knowledge Base Article - Preview

3108839 - Error: EPERM: operation not permitted, during SAP Commerce 2105 initialization on Windows - SAP Commerce

Symptom

After downloading the release 2105.0 or 2105.1 of SAP Commerce and running a local initialization in Windows, it fails when initializing SmartEdit-related extensions:

The issue displayed is similar to:

     [exec] -- PLUGIN_ERROR-rpt2 --
     [exec] Error: EPERM: operation not permitted, rename '{HYBRIS_BIN}\modules\{extension}\path\to\node_modules\.cache\rollup-plugin-typescript2/rpt2.../.../cache_' -> '{HYBRIS_BIN}\modules\{extension}\path\to\node_modules\.cache\rollup-plugin-typescript2/rpt2.../.../cache'
     
  ...
  
  [exec]     at {HYBRIS_BIN}\modules\{extension}\path\to\node_modules\.pnpm\rollup@2.17.0\node_modules\rollup\dist\shared\rollup.js:18130:25
     [exec] node:internal/process/promises:246
     [exec]           triggerUncaughtException(err, true /* fromPromise */);
     [exec]   ...8 lines omitted...
     [exec]     at {HYBRIS_BIN}\modules\{extension}\path\to\node_modules\.pnpm\rollup@2.17.0\node_modules\rollup\dist\shared\rollup.js:18130:25 {
     [exec]   errno: -4048,
     [exec]   syscall: 'rename',
     [exec]   code: 'PLUGIN_ERROR',
     [exec]   path: '{HYBRIS_BIN}\\modules\\{extension}\\path\\to\\node_modules\\.cache\\rollup-plugin-typescript2/rpt2_.../.../cache_',
     [exec]   dest: '{HYBRIS_BIN}\\modules\\{extension}\\path\\to\\node_modules\\.cache\\rollup-plugin-typescript2/rpt2_.../.../cache',
     [exec]   pluginCode: 'EPERM',
     [exec]   plugin: 'rpt2',
     [exec]   hook: 'generateBundle'
     [exec] }

     ...

BUILD FAILED
{HYBRIS_BIN}\platform\build.xml:13: The following error occurred while executing this line:
{HYBRIS_BIN}\platform\resources\ant\compiling.xml:75: The following error occurred while executing this line:
{HYBRIS_BIN}\platform\resources\ant\compiling.xml:133: The following error occurred while executing this line:
{HYBRIS_BIN}\platform\resources\ant\util.xml:13: The following error occurred while executing this line:
{HYBRIS_BIN}\platform\resources\ant\compiling.xml:140: The following error occurred while executing this line:
{HYBRIS_BIN}\platform\resources\ant\compiling.xml:269: The following error occurred while executing this line:
{HYBRIS_BIN}\platform\resources\ant\util.xml:132: The following error occurred while executing this line:
{HYBRIS_BIN}\modules\smartedit\smartedittools\buildcallbacks.xml:136: The following error occurred while executing this line:
{HYBRIS_BIN}\modules\npm-ancillary\npmancillary\buildcallbacks.xml:504: The following error occurred while executing this line:
{HYBRIS_BIN}\modules\npm-ancillary\npmancillary\buildcallbacks.xml:129: exec returned: 1

Total time: .. minutes .. seconds

> Task :recipes:cx:buildSystem FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '{HYBRIS_DIR}\installer\recipes\cx\build.gradle' line: 604

* What went wrong:
Execution failed for task ':recipes:cx:buildSystem'.

...

BUILD FAILED in ..m ..s
.. actionable tasks: .. executed
Problem with java process - finished with non-zero exit code (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 2105

Keywords

sedit, hybris, ccv2, npm , 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.