NPM installtion is failing with error code 500 from Nexis repository

Solution Verified - Updated -

Issue

  • Command npm -i <package> is failing with the following error where nexus is hosted on RHOCP.
npm ERR! code E500
npm ERR! 500 javax.servlet.ServletException: com.orientechnologies.orient.core.exception.OStorageException: Error during transaction commit??  DB name="component" - GET http://nexus-repository-manager-nexus.apps.<domain>/repository/npm-group/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz
  • Jenkins pipelines are failing as npm packages are unable to install from Nexus repository which is hosted on RHOCP.

Environment

  • Red Hat OpenShift Container Platform
    • 4

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