Skip to content

fix(vue): support for vue-router v5#185

Open
penglezos wants to merge 1 commit intovercel:mainfrom
penglezos:vue-router
Open

fix(vue): support for vue-router v5#185
penglezos wants to merge 1 commit intovercel:mainfrom
penglezos:vue-router

Conversation

@penglezos
Copy link

@penglezos penglezos commented Feb 2, 2026

Description

Currently, @vercel/analytics (v1.6.1) specifies vue-router@^4 as an optional peer dependency.
With the release of vue-router v5, projects using the latest version of Vue encounter ERRESOLVE errors during installation because of this version mismatch.

Console output

npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @vercel/analytics@1.6.1
npm error Found: vue-router@5.0.2
npm error node_modules/vue-router
npm error   vue-router@"^5.0.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional vue-router@"^4" from @vercel/analytics@1.6.1
npm error node_modules/@vercel/analytics
npm error   @vercel/analytics@"^1.6.1" from the root project
npm error
npm error Conflicting peer dependency: vue-router@4.6.4
npm error node_modules/vue-router
npm error   peerOptional vue-router@"^4" from @vercel/analytics@1.6.1
npm error   node_modules/@vercel/analytics
npm error     @vercel/analytics@"^1.6.1" from the root project

Changes

This PR updates the package and peerDependencies to support vue-router v5.

@vercel
Copy link

vercel bot commented Feb 2, 2026

@penglezos is attempting to deploy a commit to the Analytics Test Projects Team on Vercel.

A member of the Team first needs to authorize it.

@socket-security
Copy link

@atinux atinux requested a review from HugoRCD February 3, 2026 09:51
@HugoRCD HugoRCD changed the title fix: support for vue-router v5 fix(vue): support for vue-router v5 Feb 4, 2026
@HugoRCD HugoRCD changed the title fix(vue): support for vue-router v5 fix(vue): support for vue-router v5 Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants