Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

136
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!