Skip to content

Does @vercel/speed-insights support Next.js v12? #96

@ismoil793

Description

@ismoil793

I am using Next.js v12.2.5 and I would like to install @vercel/speed-insights

When I try to install the latest version of @vercel/speed-insights v1.2.0 as of today. Installation fails with the following message: Could not resolve dependency: peerOptional next@">= 13" from @vercel/speed-insights@1.2.0

I assume I need at least Next.js v13 to be able to install @vercel/speed-insights. I tried force installing it, but the project doesn't run or build.

I also tried to install the lower version @vercel/speed-insights@1.0.5. But with this version I get another error when I try to run the project: Module not found: Can't resolve 'next/navigation.js'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions