Skip to content

@vercel/routing-utils fails with Error: Cannot find module '@vercel-internals/path-to-regexp' since 5.0.3 #13024

@ascorbic

Description

@ascorbic

In #12962, routing-utils was changed to use an internal version of path-to-regexp. However routing-utils is not bundled when being built, so at runtime the internal package is missing. This causes the package to break when used by packages outside of this monorepo. This includes @astrojs/vercel.

Thanks @blaine-arcjet for the report: #12962 (comment)

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