Allow preview versions of Next
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 82/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- next.js, typescript
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu tại packages/web/package.json, xung quanh mục peer dependency được liên kết, sau đó tái hiện quá trình cài đặt npm bằng [email protected]. Hoàn tất khi phiên bản preview được cài đặt mà không yêu cầu --force, đồng thời giữ nguyên các kiểm tra dependency hiện có của package.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Thought I would try the preview version of Next (16.3.0-preview.9 to be specific), and seems it works great, with the exception that I'm getting this error on the build-server:
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @vercel/[email protected]
npm error Found: [email protected]
npm error node_modules/next
npm error next@"16.3.0-preview.9" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional next@">= 13" from @vercel/[email protected]
npm error node_modules/@vercel/analytics
npm error @vercel/analytics@"2.0.1" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/next
npm error peerOptional next@">= 13" from @vercel/[email protected]
npm error node_modules/@vercel/analytics
npm error @vercel/analytics@"2.0.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\torle\AppData\Local\npm-cache\_logs\2026-07-24T23_02_48_171Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\torle\AppData\Local\npm-cache\_logs\2026-07-24T23_02_48_171Z-debug-0.log
Would be great if [the peer dependency](https://github.com/vercel/analytics/blob/d5df714080cbfdc7ee5e84b9aa6918e291a8e979/packages/web/package.json#L127], which is now "next": ">= 13" could be widened to also include preview versions.
I can work around it by overriding the install command on Vercel to npm i --force, but would prefer if I didn't have to do that.
- Ngôn ngữ chính
- TypeScript
- Star
- 518
- Fork
- 55
- Merge trung bình
- 19 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của vercel/analytics
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Poor Discoverability of npm/pnpm Selector in Vercel Analytics SetupCó thể làm lại được @Emilsone đã nhận 118 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
-
React component silently drops pageviews when `route` is set without `path`Có thể đã có người làm @sarmah-rup đã nhận 100 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
Dependencies conflictCó thể đã có người làm @Mimori256 đã nhận 214 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Tất cả issue của vercel/analytics
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
gnosis/gnosis_vpn#661 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
content-freshness: staleOwnedContent doc comments still say 'complete receipt' (follow-up to #7912)Đang mởtriage:bug-verified
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
fix: reject sourceStorage/packagedStorage bucket that differs from the stack default (fail loud)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Eyevinn/open-videocore#1300 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
nextjs-tracking
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
cloudflare/vinext#4390 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
kubernetes-sigs/headlamp#8175 ·
Maintainer thường phản hồi trong vòng 2 ngày