Skip to content

New relic types not working when setting up browser agent in next app #230

Closed as not planned
@alexchoiweb

Description

@alexchoiweb

Description

I'm setting up new relic browser agent for a next.js app following this example:

https://github.com/newrelic/newrelic-node-examples/blob/58f760e828c45d90391bda3f66764d4420ba4990/nextjs-app-router/app/layout.js

(forum topic https://forum.newrelic.com/s/hubtopic/aAXPh0000001rgbOAA)

But getting type errors even after adding @types/newrelic, anyone know what I'm missing?

Additional context

image

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done: Issues recently completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions