on 2021 Oct 04 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
Hi Christian,
Sometimes, problems with proxy configurations or firewall limitations might prevent packages from downloading. Make sure that the download of Node.js packages is not being restricted by your network or firewall settings.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One reason for this issue was that I had a node and pnpm already installed on my machine (from Visual Studio Code) and SAP Commerce installed a second version in parallel. Then everything got mixed up. But still the rushupdate does not work and I cannot find the reason.
My current solution is to remove everything related to "smart" from the build.gradle file in the cx recipe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
1 | |
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.