Strange Hybris 6.3 Commerce B2C Accelerator Build Error on Windows 10

A month ago, a client asked me to build Hybris 6.3 on his Windows 10 laptop to demo the new 6.3 functionality. Since this was a local machine, I decided to install Hybris using the B2C Acclerator. Pretty harmless, right?.

I ran the following install script from his command prompt:

install.bat -r b2c_acc initialize

However, my build failed when loading the grunt-karma.js task.

I did some research, and learned that there was a conflict with my client's local version of NodeJs/NPM. I removed the existing C:\Program Files\nodejs from my client's PATH environment variables list, and this resolved the issue.

Marc Raygoza

Marc is the Founder of HybrisArchitect.com.
He enjoys helping others learn more about SAP Hybris Commerce. Marc is a SAP Commerce Certified Professional and has held the role of Hybris Architect at Deloitte, PWC, Exemplis and Nasty Gal. He is a long-time Java/Spring developer. Marc holds an M.S. Software Engineering from Carnegie Mellon University and a B.S. in Accountancy from California State University, Fresno. He can be reached at: info@hybrisarchitect.com

You may also like...

Popular Posts

2 Comments

  1. prakash Ramachandran says:

    i too faced the same issue.. i think product should read the existing node js version if its compatible then should use else should path that..this strange that product forced us to uninstall our required software

  2. I couldn't agree more, Prakash. Thank you for your comment!
    -Marc

Leave a Reply

Your email address will not be published. Required fields are marked *