Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

138
Vistas
New Relic Browser cannot find name newrelic

I am using New Relic Browser to report error in my React application. Recently I introduced ErrorBoundary component from react-error-boundary package that seems to block sending any error to New Relic and I have to do it with custom onError method, like this:

  ...
  const onError = (error: Error) => {
    newrelic.noticeError(error);
  };

  return (
    <Router>
      <Layout>
        <ErrorBoundary FallbackComponent={FallbackComponent} onError={onError}>
          <Layout>
            ...
          </Layout>
        </ErrorBoundary>
    </Router>
  );
   ....

But I'm not able to make this newrelic invoke work, now I've got an issue saying: Cannot find name 'newrelic'. How to make Typescript recognize that I have newrelic in the context when there is no npm package that New Relic shares with developers?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda