sfcc-ci
sfcc-ci copied to clipboard
Which version of NodeJS and npm do you recommend to use?
Hi, i am just trying to set up an environment for Commerce Cloud development. And during installation of this package i have a lot of warnings and errors like:
npm WARN config global --global
, --local
are deprecated. Use --location=global
instead.
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm ERR! code 1 npm ERR! path C:\Users\dsachm01\Documents\SFRA_projects\test3\storefront-reference-architecture\node_modules\node-sass npm ERR! command failed
I am using NodeJS - v16.15.1
Do you have any idea how to fix it? Maybe another version of NodeJS? Thank you!
I think this isn't so much an sfcc-ci question as it is a question for SFRA and other plugins / cartridges / etc.
As of right now, SFRA uses an older version of node-sass that is only documented to work with node 12; You can see here that SFRA is using 12.21 for their own testing: https://github.com/SalesforceCommerceCloud/storefront-reference-architecture/blob/master/.circleci/config.yml#L9
Thanks for replying on that @clstopher!
@denis-merkle would you mind opening an issue at https://github.com/SalesforceCommerceCloud/storefront-reference-architecture/issues?