cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Commerce Cloud 2011 p6 npm install broken

former_member744754
Discoverer
0 Kudos
1,767

Hi,

When we try to build the latest commerce cloud v2011 p6 (CXCOMM201100P_6-70005693), when we ran 'ant npminstall' it is throwing the node version compatibilities., Looks like the changes introduced from patch 5 is caused for this broken behaviour, inorder to fix this issue we have to manually change the node version on package.json file

I assume SAP will fix by treating this as critical defect for customers

below are some details

Error LOG:-

 [exec] Finished in 0.011s
    [echo] Running [npm install --loglevel=error]
    [exec] npm ERR! code ENOTSUP
    [exec] npm ERR! notsup Unsupported engine for npmancillary@1.0.0: wanted: {"node":"10.23.2","npm":"6.14.10"} (current: {"node":"10.24.0","npm":"6.14.11"})
    [exec] npm ERR! notsup Not compatible with your version of node/npm: npmancillary@1.0.0
    [exec] npm ERR! notsup Not compatible with your version of node/npm: npmancillary@1.0.0
    [exec] npm ERR! notsup Required: {"node":"10.23.2","npm":"6.14.10"}
    [exec] npm ERR! notsup Actual:   {"npm":"6.14.11","node":"10.24.0"}

SOLUTION:-

File:-hybris/bin/modules/npm-ancillary/npmancillary/resources/npm/package.json

"engines": {
  "node": "10.24.0", // MODIFIED
  "npm": "6.14.11" //MODIFIED
},
View Entire Topic
mpern
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thank you for bringing this to our attention!
The bug was reported with the highest priority.

*EDIT 2021-05-11*

https://cxjira.sap.com/browse/ECP-5922

*EDIT 2021-05-12*

Fixed with 2011.7, released on 2021-05-11

https://help.sap.com/viewer/0fdefc2962d4451a88da0f73d16c9932/v2011/en-US/cba026d2b36c4ab18f89525df92...

former_member744754
Discoverer
0 Kudos

Thank you for accepting, if possible could you please share issue number, so that i will follow for patch fix.

mpern
Product and Topic Expert
Product and Topic Expert

see the latest update

former_member744754
Discoverer
0 Kudos

thank you for quick turnaround!