Latest NodeJS image build fails on Error: building at STEP "RUN npm ci --legacy-peer-deps": exit status 232

Solution Verified - Updated -

Issue

During the build using NodeJS the following happens:

Error: building at STEP "RUN npm ci --legacy-peer-deps": exit status 232

Environment

  • Red Hat Openshift Container Platform
    • 4.x
  • Red Hat build of NodeJS
    • NPM version 9+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content