on 10-04-2021 8:36 AM
Hi,
I dowloaded the current version of SAP Commerce (CXCOMM210500P_1-70005661). When I try to install it on my Windows machine (using the cx recipe), I get an error during "initialize".
] The command failed: [exec] C:\projekte\commerce\hybris\bin\modules\smartedit\smartedittools\common\temp\pnpm-local\node_modules\.bin\pnpm install --no-prefer-frozen-lockfile --strict-peer-dependencies [exec] ERROR: Error: The command failed with exit code 1
It looks to me as if the node_modules" folder is not there.
Has anybody solved this issue?
Had raised the issue with SAP support on Commerce 2105 patch 1 , below workaround provided by SAP support works fine for me , able to proceed with build and setup of Commerce.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am getting the below error,
[exec] Copying "/APP/sap/hybris/bin/modules/smartedit/smartedittools/common/config/rush/pnpm-lock.yaml"
[exec] --> "/APP/sap/hybris/bin/modules/smartedit/smartedittools/common/temp/pnpm-lock.yaml"
[exec] Copying "/APP/sap/hybris/bin/modules/smartedit/smartedittools/common/config/rush/pnpm-lock.yaml"
[exec] --> "/APP/sap/hybris/bin/modules/smartedit/smartedittools/common/temp/pnpm-lock-preinstall.yaml"
[exec]
[exec] Checking installation in "/APP/sap/hybris/bin/modules/smartedit/smartedittools/common/temp"
[exec]
[exec]
[exec] Running "pnpm install" in /APP/sap/hybris/bin/modules/smartedit/smartedittools/common/temp
[exec]
[exec]
[exec] Linking local projects
[exec]
[exec] LINKING: @smart/utils [exec] [exec] ERROR: Internal Error: Cannot find installed dependency "@angular/animations"
[exec] in
[exec] "/APP/sap/hybris/bin/modules/smartedit/smartedittools/common/temp/node_modules/.pnpm/local/%2FAPP%2Fsap%2Fhybris%2Fbin%2Fmodules%2Fsmartedit%2Fsmartedittools%2Fcommon%2Ftemp%2Fprojects%2Futils.tgz_prettier@2.1.1/node_modules"
[exec] You have encountered a software defect. Please consider reporting the issue to
[exec] the maintainers of this application.
BUILD FAILED
/app/sap/hybris/bin/platform/build.xml:13: The following error occurred while executing this line: /app/sap/hybris/bin/platform/resources/ant/compiling.xml:75: The following error occurred while executing this line: /app/sap/hybris/bin/platform/resources/ant/compiling.xml:133: The following error occurred while executing this line: /app/sap/hybris/bin/platform/resources/ant/util.xml:13: The following error occurred while executing this line: /app/sap/hybris/bin/platform/resources/ant/compiling.xml:140: The following error occurred while executing this line: /app/sap/hybris/bin/platform/resources/ant/compiling.xml:269: The following error occurred while executing this line: /app/sap/hybris/bin/platform/resources/ant/util.xml:132: The following error occurred while executing this line: /app/sap/hybris/bin/modules/smartedit/smartedittools/buildcallbacks.xml:134: The following error occurred while executing this line: /app/sap/hybris/bin/modules/npm-ancillary/npmancillary/buildcallbacks.xml:460: The following error occurred while executing this line: /app/sap/hybris/bin/modules/npm-ancillary/npmancillary/buildcallbacks.xml:139: exec returned: 1 Total time: 3 minutes 15 seconds
The above error is not related to pnpm installation, it is related to angular .
Cannot find installed dependency "@angular/animations".
probably you already have angular installed and it is conflicting
you will find animations folder under node modules for angular which should will be installed .
bin\modules\smartedit\smartedittools\common\temp\node_modules\@angular
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.