• Log inStart now

Now that we've migrated this site's content to docs.newrelic.com, we're EOLing this site on June 21st 2024.

Enable advanced configurations for your Nerdpack

Most of the time, the nr1 CLI commands will just work, requiring no extra configuration. You'll be able to create Nerdpacks, Nerdlets, launchers, and visualizations without a hitch. But sometimes, you need something special for your setup.

In this guide, you'll learn how you can enable advanced configurations for your Nerdpack.

Before you begin

Make sure you have the latest version of the nr1 CLI:

bash
$
nr1 update

Extend your webpack configuration

You can use our .extended-webpackrc.js file to extend your webpack 4 configuration. This allows you to add your own aliases, scripts, and configurations when locally serving or deploying your app.

Add extra certificates

When working with nr1 behind a corporate proxy, you may see a RequestError:

bash
$
nr1 create --type nerdpack --name new-nerdpack
RequestError: Error: self signed certificate in certificate chain

Node uses its own certificate chain. So, if you're getting this error, you need to add your corporate certificate to Node's "root" CAs:

bash
$
export NODE_EXTRA_CA_CERTS=[cert]
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.