Build NodeJS application with node-sass from a repository

Solution Verified - Updated -

Issue

Unable to configure the NodeJS build to retrieve the npm packages and the node-sass binary from the internal repository as the nodes themselves don't have internet connection.

Environment

  • Openshift 3.3 and later
  • Sonatype Nexus running with a proxy defined for the npm packages and a binary (raw) repository
  • A nodejs application using node-sass as a dependency

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.